[skip ci] Add comment for setSegment (#11196)

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

View File

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