[skip ci] Add comment for addSegment (#11194)

Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
pull/11201/head
bigsheeper 2021-11-03 23:17:02 +08:00 committed by GitHub
parent 7ea6b773e6
commit d6fa46cfbb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -79,6 +79,7 @@ type ReplicaInterface interface {
getSegmentIDsByVChannel(partitionID UniqueID, vChannel Channel) ([]UniqueID, error)
// segment
// addSegment add a new segment to collectionReplica
addSegment(segmentID UniqueID, partitionID UniqueID, collectionID UniqueID, vChannelID Channel, segType segmentType, onService bool) error
setSegment(segment *Segment) error
// removeSegment removes a segment from collectionReplica