[skip ci] Update comment for show segments (#8939)

Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
pull/8997/head
Cai Yudong 2021-10-01 01:18:21 +08:00 committed by GitHub
parent e9a5006a21
commit 792aac9f73
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 0 deletions

View File

@ -334,6 +334,15 @@ type RootCoord interface {
// 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 notifies RootCoord to list all segment ids in the collection or partition
//
// ctx is the context to control request deadline and cancellation
// req contains the request params, including collection id and partition id
//
// The `Status` in response struct `ShowSegmentsResponse` indicates if this operation is processed successfully or fail cause;
// `SegmentIDs` in `ShowSegmentsResponse` records all segment ids.
// error is always nil
ShowSegments(ctx context.Context, req *milvuspb.ShowSegmentsRequest) (*milvuspb.ShowSegmentsResponse, error)
ReleaseDQLMessageStream(ctx context.Context, in *proxypb.ReleaseDQLMessageStreamRequest) (*commonpb.Status, error)
SegmentFlushCompleted(ctx context.Context, in *datapb.SegmentFlushCompletedMsg) (*commonpb.Status, error)