diff --git a/internal/querynode/collection_replica.go b/internal/querynode/collection_replica.go index 2e3ba8a20d..cb542d78de 100644 --- a/internal/querynode/collection_replica.go +++ b/internal/querynode/collection_replica.go @@ -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