From 9ec4105a85fbf5ff70ae66783a59c435becfac6a Mon Sep 17 00:00:00 2001 From: bigsheeper Date: Mon, 18 Oct 2021 20:22:56 +0800 Subject: [PATCH] [skip ci] Add comment for getSegmentIDsPrivate (#10110) 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 1df1c2e595..f04b179910 100644 --- a/internal/querynode/collection_replica.go +++ b/internal/querynode/collection_replica.go @@ -374,6 +374,7 @@ func (colReplica *collectionReplica) getSegmentIDsByVChannel(partitionID UniqueI return segmentIDsTmp, nil } +// getSegmentIDsPrivate is private function in collectionReplica, it returns segment ids func (colReplica *collectionReplica) getSegmentIDsPrivate(partitionID UniqueID) ([]UniqueID, error) { partition, err2 := colReplica.getPartitionByIDPrivate(partitionID) if err2 != nil {