From 0ff3c0a7e46c068415ba67e89664a8b82c5089bb Mon Sep 17 00:00:00 2001 From: xige-16 Date: Wed, 29 Sep 2021 23:30:45 +0800 Subject: [PATCH] [skip ci] Add comment for showPartitions (#8864) 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 84584a9c3..19c1c937b 100644 --- a/internal/querycoord/impl.go +++ b/internal/querycoord/impl.go @@ -212,6 +212,7 @@ func (qc *QueryCoord) ReleaseCollection(ctx context.Context, req *querypb.Releas return status, nil } +// ShowPartitions return all the partitions that have been loaded func (qc *QueryCoord) ShowPartitions(ctx context.Context, req *querypb.ShowPartitionsRequest) (*querypb.ShowPartitionsResponse, error) { collectionID := req.CollectionID log.Debug("show partitions start, ", zap.Int64("collectionID", collectionID), zap.Int64s("partitionIDs", req.PartitionIDs)) -- GitLab