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

[skip ci] Add comment for hasSegment (#10293)

Signed-off-by: Nbigsheeper <yihao.dai@zilliz.com>
上级 ff4cd492
......@@ -472,6 +472,7 @@ func (colReplica *collectionReplica) getSegmentByIDPrivate(segmentID UniqueID) (
return segment, nil
}
// hasSegment returns true if collectionReplica has the segment, false otherwise
func (colReplica *collectionReplica) hasSegment(segmentID UniqueID) bool {
colReplica.mu.RLock()
defer colReplica.mu.RUnlock()
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册