未验证 提交 26fe0d85 编写于 作者: B bigsheeper 提交者: GitHub

[skip ci] Add comment for removeSegmentPrivate (#10203)

Signed-off-by: Nbigsheeper <yihao.dai@zilliz.com>
上级 dc42fdb2
......@@ -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)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册