From ee8dce79b6a95b60426cc883585d2fd3a4a733ae Mon Sep 17 00:00:00 2001 From: xige-16 Date: Fri, 1 Oct 2021 12:02:26 +0800 Subject: [PATCH] [skip ci] Add comment for releasePartition (#8994) Signed-off-by: xige-16 --- internal/querycoord/impl.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/querycoord/impl.go b/internal/querycoord/impl.go index aa898ab164..e03935c281 100644 --- a/internal/querycoord/impl.go +++ b/internal/querycoord/impl.go @@ -354,6 +354,7 @@ func (qc *QueryCoord) LoadPartitions(ctx context.Context, req *querypb.LoadParti return status, nil } +// ReleasePartition clears all data related to this partition on the querynode func (qc *QueryCoord) ReleasePartitions(ctx context.Context, req *querypb.ReleasePartitionsRequest) (*commonpb.Status, error) { //dbID := req.DbID collectionID := req.CollectionID