mirror of https://github.com/milvus-io/milvus.git
[skip ci] Add comment for hasSegment (#11251)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>pull/11271/head
parent
3f2455d03f
commit
b028e58c8f
|
@ -87,6 +87,7 @@ type ReplicaInterface interface {
|
|||
removeSegment(segmentID UniqueID) error
|
||||
// getSegmentByID returns the segment which id is segmentID
|
||||
getSegmentByID(segmentID UniqueID) (*Segment, error)
|
||||
// hasSegment returns true if collectionReplica has the segment, false otherwise
|
||||
hasSegment(segmentID UniqueID) bool
|
||||
getSegmentNum() int
|
||||
getSegmentStatistics() []*internalpb.SegmentStats
|
||||
|
|
Loading…
Reference in New Issue