mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-01-07 19:31:51 +08:00
[skip ci] Add comment for hasSegmentPrivate (#10371)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
This commit is contained in:
parent
f7a7f41706
commit
fd95ad8e4a
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user