[skip ci] Add comment for GetSegmentInfo (#9054)

Signed-off-by: xige-16 <xi.ge@zilliz.com>
pull/9059/head
xige-16 2021-10-02 09:47:00 +08:00 committed by GitHub
parent 170e76aee3
commit 4d14a84d46
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

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