mirror of https://github.com/milvus-io/milvus.git
[skip e2e] Add comment for removeSegmentID (#15109)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>pull/15132/head
parent
531a51bd75
commit
67e8c09df5
|
@ -51,6 +51,7 @@ func (p *Partition) addSegmentID(segmentID UniqueID) {
|
|||
log.Debug("add a segment to replica", zap.Int64("collectionID", p.collectionID), zap.Int64("partitionID", p.partitionID), zap.Int64("segmentID", segmentID))
|
||||
}
|
||||
|
||||
// removeSegmentID removes segmentID from segmentIDs
|
||||
func (p *Partition) removeSegmentID(segmentID UniqueID) {
|
||||
tmpIDs := make([]UniqueID, 0)
|
||||
for _, id := range p.segmentIDs {
|
||||
|
|
Loading…
Reference in New Issue