From a756fc78c172107c1a9bdda9dd70a355f21936d2 Mon Sep 17 00:00:00 2001 From: bigsheeper Date: Fri, 5 Nov 2021 19:57:35 +0800 Subject: [PATCH] [skip ci] Add comment for addExcludedSegments (#11336) 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 a496374ad1..3975040e5d 100644 --- a/internal/querynode/collection_replica.go +++ b/internal/querynode/collection_replica.go @@ -101,6 +101,7 @@ type ReplicaInterface interface { // excluded segments // removeExcludedSegments will remove excludedSegments from collectionReplica removeExcludedSegments(collectionID UniqueID) + // addExcludedSegments will add excludedSegments to collectionReplica addExcludedSegments(collectionID UniqueID, segmentInfos []*datapb.SegmentInfo) getExcludedSegments(collectionID UniqueID) ([]*datapb.SegmentInfo, error)