mirror of https://github.com/milvus-io/milvus.git
[skip ci] Add comment for removeSegment (#11195)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>pull/11201/head
parent
a2ad88237d
commit
1ba39c61c9
internal/querynode
|
@ -81,6 +81,7 @@ type ReplicaInterface interface {
|
||||||
// segment
|
// segment
|
||||||
addSegment(segmentID UniqueID, partitionID UniqueID, collectionID UniqueID, vChannelID Channel, segType segmentType, onService bool) error
|
addSegment(segmentID UniqueID, partitionID UniqueID, collectionID UniqueID, vChannelID Channel, segType segmentType, onService bool) error
|
||||||
setSegment(segment *Segment) error
|
setSegment(segment *Segment) error
|
||||||
|
// removeSegment removes a segment from collectionReplica
|
||||||
removeSegment(segmentID UniqueID) error
|
removeSegment(segmentID UniqueID) error
|
||||||
getSegmentByID(segmentID UniqueID) (*Segment, error)
|
getSegmentByID(segmentID UniqueID) (*Segment, error)
|
||||||
hasSegment(segmentID UniqueID) bool
|
hasSegment(segmentID UniqueID) bool
|
||||||
|
|
Loading…
Reference in New Issue