[skip ci] Update comment for describe segment (#8938)

Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
pull/8991/head
Cai Yudong 2021-10-01 01:15:38 +08:00 committed by GitHub
parent 3bf6985abe
commit e9a5006a21
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 1 deletions

View File

@ -325,7 +325,14 @@ type RootCoord interface {
// error is always nil
UpdateChannelTimeTick(ctx context.Context, req *internalpb.ChannelTimeTickMsg) (*commonpb.Status, error)
//segment
// DescribeSegment notifies RootCoord to get specified segment information in the collection
//
// ctx is the context to control request deadline and cancellation
// req contains the request params, including collection id and segment id
//
// The `Status` in response struct `DescribeSegmentResponse` indicates if this operation is processed successfully or fail cause;
// segment index information is filled in `IndexID`, `BuildID` and `EnableIndex`.
// error is always nil
DescribeSegment(ctx context.Context, req *milvuspb.DescribeSegmentRequest) (*milvuspb.DescribeSegmentResponse, error)
ShowSegments(ctx context.Context, req *milvuspb.ShowSegmentsRequest) (*milvuspb.ShowSegmentsResponse, error)
ReleaseDQLMessageStream(ctx context.Context, in *proxypb.ReleaseDQLMessageStreamRequest) (*commonpb.Status, error)