[skip ci] Update comment for release DQL message stream (#8941)

Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
pull/9063/head
Cai Yudong 2021-10-02 09:06:07 +08:00 committed by GitHub
parent 5763266c0b
commit 0010faac47
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 11 additions and 0 deletions

View File

@ -344,6 +344,17 @@ type RootCoord interface {
// `SegmentIDs` in `ShowSegmentsResponse` records all segment ids.
// error is always nil
ShowSegments(ctx context.Context, req *milvuspb.ShowSegmentsRequest) (*milvuspb.ShowSegmentsResponse, error)
// ReleaseDQLMessageStream notifies RootCoord to release and close the search message stream of specific collection.
//
// ctx is the request to control request deadline and cancellation.
// request contains the request params, which are database id(not used) and collection id.
//
// The `ErrorCode` of `Status` is `Success` if drop index successfully;
// otherwise, the `ErrorCode` of `Status` will be `Error`, and the `Reason` of `Status` will record the fail cause.
// error is always nil
//
// RootCoord just forwards this request to Proxy client
ReleaseDQLMessageStream(ctx context.Context, in *proxypb.ReleaseDQLMessageStreamRequest) (*commonpb.Status, error)
SegmentFlushCompleted(ctx context.Context, in *datapb.SegmentFlushCompletedMsg) (*commonpb.Status, error)