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

[skip ci] Add comment for hasSegmentPrivate (#10371)

Signed-off-by: Nbigsheeper <yihao.dai@zilliz.com>
上级 f7a7f417
......@@ -479,6 +479,7 @@ func (colReplica *collectionReplica) hasSegment(segmentID UniqueID) bool {
return colReplica.hasSegmentPrivate(segmentID)
}
// hasSegmentPrivate is private function in collectionReplica, to check if collectionReplica has the segment
func (colReplica *collectionReplica) hasSegmentPrivate(segmentID UniqueID) bool {
_, ok := colReplica.segments[segmentID]
return ok
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册