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