mirror of
https://gitee.com/milvus-io/milvus.git
synced 2025-12-07 17:48:29 +08:00
[skip ci] Add comment for GetPartitionsStatistics (#11677)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
This commit is contained in:
parent
45f667a92e
commit
2114b807d3
@ -843,6 +843,7 @@ func (node *Proxy) ReleasePartitions(ctx context.Context, request *milvuspb.Rele
|
|||||||
return rpt.result, nil
|
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) {
|
func (node *Proxy) GetPartitionStatistics(ctx context.Context, request *milvuspb.GetPartitionStatisticsRequest) (*milvuspb.GetPartitionStatisticsResponse, error) {
|
||||||
if !node.checkHealthy() {
|
if !node.checkHealthy() {
|
||||||
return &milvuspb.GetPartitionStatisticsResponse{
|
return &milvuspb.GetPartitionStatisticsResponse{
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user