From 2114b807d3069d5f4ad6b25c2e348a9871b74c6f Mon Sep 17 00:00:00 2001 From: dragondriver Date: Thu, 11 Nov 2021 21:09:06 +0800 Subject: [PATCH] [skip ci] Add comment for GetPartitionsStatistics (#11677) Signed-off-by: dragondriver --- internal/proxy/impl.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/proxy/impl.go b/internal/proxy/impl.go index d4cf382313..915d712ce2 100644 --- a/internal/proxy/impl.go +++ b/internal/proxy/impl.go @@ -843,6 +843,7 @@ func (node *Proxy) ReleasePartitions(ctx context.Context, request *milvuspb.Rele return rpt.result, nil } +// GetPartitionStatistics get the statistics of partition, such as num_rows. func (node *Proxy) GetPartitionStatistics(ctx context.Context, request *milvuspb.GetPartitionStatisticsRequest) (*milvuspb.GetPartitionStatisticsResponse, error) { if !node.checkHealthy() { return &milvuspb.GetPartitionStatisticsResponse{