mirror of https://github.com/milvus-io/milvus.git
[skip e2e] Add comment for addSegmentID (#15020)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>pull/15029/head
parent
a7ad3f2a76
commit
8d24428c4e
|
@ -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))
|
||||
|
|
Loading…
Reference in New Issue