未验证 提交 8d24428c 编写于 作者: B bigsheeper 提交者: GitHub

[skip e2e] Add comment for addSegmentID (#15020)

Signed-off-by: Nbigsheeper <yihao.dai@zilliz.com>
上级 a7ad3f2a
......@@ -45,6 +45,7 @@ func (p *Partition) ID() UniqueID {
return p.partitionID
}
// addSegmentID add segmentID to segmentIDs
func (p *Partition) addSegmentID(segmentID UniqueID) {
p.segmentIDs = append(p.segmentIDs, segmentID)
log.Debug("add a segment to replica", zap.Int64("collectionID", p.collectionID), zap.Int64("partitionID", p.partitionID), zap.Int64("segmentID", segmentID))
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册