From 4d14a84d464d031dd6fca24b3a3b9b559368fa9b Mon Sep 17 00:00:00 2001 From: xige-16 Date: Sat, 2 Oct 2021 09:47:00 +0800 Subject: [PATCH] [skip ci] Add comment for GetSegmentInfo (#9054) 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 3326f40038..7e18e0d0ac 100644 --- a/internal/querycoord/impl.go +++ b/internal/querycoord/impl.go @@ -493,6 +493,7 @@ func (qc *QueryCoord) GetPartitionStates(ctx context.Context, req *querypb.GetPa }, nil } +// GetSegmentInfo returns infomation of all the segments on queryNodes, and the infomation includes memSize, numRow, indexName, indexID ... func (qc *QueryCoord) GetSegmentInfo(ctx context.Context, req *querypb.GetSegmentInfoRequest) (*querypb.GetSegmentInfoResponse, error) { status := &commonpb.Status{ ErrorCode: commonpb.ErrorCode_Success,