From d6fa46cfbb3833da8462a79d4f1be0ce35062f8a Mon Sep 17 00:00:00 2001 From: bigsheeper Date: Wed, 3 Nov 2021 23:17:02 +0800 Subject: [PATCH] [skip ci] Add comment for addSegment (#11194) Signed-off-by: bigsheeper --- internal/querynode/collection_replica.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/querynode/collection_replica.go b/internal/querynode/collection_replica.go index 531cfed3ec..2e3ba8a20d 100644 --- a/internal/querynode/collection_replica.go +++ b/internal/querynode/collection_replica.go @@ -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