[skip ci] Add comment for GetPartitionsStatistics (#11677)

Signed-off-by: dragondriver <jiquan.long@zilliz.com>
pull/11555/head
dragondriver 2021-11-11 21:09:06 +08:00 committed by GitHub
parent 45f667a92e
commit 2114b807d3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -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{