mirror of
https://gitee.com/milvus-io/milvus.git
synced 2025-12-08 01:58:34 +08:00
[skip ci] Add comment for removeSegmentPrivate (#10203)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
This commit is contained in:
parent
dc42fdb2f0
commit
26fe0d850e
@ -430,6 +430,7 @@ func (colReplica *collectionReplica) removeSegment(segmentID UniqueID) error {
|
||||
return colReplica.removeSegmentPrivate(segmentID)
|
||||
}
|
||||
|
||||
// removeSegmentPrivate is private function in collectionReplica, to remove a segment from collectionReplica
|
||||
func (colReplica *collectionReplica) removeSegmentPrivate(segmentID UniqueID) error {
|
||||
log.Debug("remove segment", zap.Int64("segmentID", segmentID))
|
||||
segment, err := colReplica.getSegmentByIDPrivate(segmentID)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user