mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-01-07 19:31:51 +08:00
[skip ci] Add comment for getSegmentByID (#11250)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
This commit is contained in:
parent
3b3ff4b9c1
commit
3f2455d03f
@ -85,6 +85,7 @@ type ReplicaInterface interface {
|
||||
setSegment(segment *Segment) error
|
||||
// removeSegment removes a segment from collectionReplica
|
||||
removeSegment(segmentID UniqueID) error
|
||||
// getSegmentByID returns the segment which id is segmentID
|
||||
getSegmentByID(segmentID UniqueID) (*Segment, error)
|
||||
hasSegment(segmentID UniqueID) bool
|
||||
getSegmentNum() int
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user