From 0010faac473243f5b6f77cbf6530ecde5c51828f Mon Sep 17 00:00:00 2001 From: Cai Yudong Date: Sat, 2 Oct 2021 09:06:07 +0800 Subject: [PATCH] [skip ci] Update comment for release DQL message stream (#8941) Signed-off-by: yudong.cai --- internal/types/types.go | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/internal/types/types.go b/internal/types/types.go index e2aa142f52..4f7b56a45b 100644 --- a/internal/types/types.go +++ b/internal/types/types.go @@ -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)