From 75a42e9e7e9e5efaeaacc8ff841331121ecd4a3b Mon Sep 17 00:00:00 2001 From: ryjiang Date: Sat, 30 Oct 2021 18:43:51 +0800 Subject: [PATCH] [skip ci]Add some comments in chap07_query_coordinator.md (#10944) Signed-off-by: ruiyi.jiang --- docs/developer_guides/chap07_query_coordinator.md | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/docs/developer_guides/chap07_query_coordinator.md b/docs/developer_guides/chap07_query_coordinator.md index ff63c8b685..31c0082c05 100644 --- a/docs/developer_guides/chap07_query_coordinator.md +++ b/docs/developer_guides/chap07_query_coordinator.md @@ -236,16 +236,11 @@ type QueryNode interface { TimeTickProvider // AddQueryChannel notifies QueryNode to subscribe a query channel and be a producer of a query result channel. - // `ctx` is the context to control request deadline and cancellation. - // `req` contains the request params, which are collection id, query channel and query result channel. - // - // Return UnexpectedError code in status: - // If QueryNode isn't in HEALTHY: states not HEALTHY or dynamic checks not HEALTHY. - // Return Success code in status: - // Subscribe a query channel and be a producer of a query result channel. AddQueryChannel(ctx context.Context, req *querypb.AddQueryChannelRequest) (*commonpb.Status, error) RemoveQueryChannel(ctx context.Context, req *querypb.RemoveQueryChannelRequest) (*commonpb.Status, error) WatchDmChannels(ctx context.Context, req *querypb.WatchDmChannelsRequest) (*commonpb.Status, error) + // LoadSegments notifies QueryNode to load the sealed segments from storage. The load tasks are sync to this + // rpc, QueryNode will return after all the sealed segments are loaded. LoadSegments(ctx context.Context, req *querypb.LoadSegmentsRequest) (*commonpb.Status, error) ReleaseCollection(ctx context.Context, req *querypb.ReleaseCollectionRequest) (*commonpb.Status, error) ReleasePartitions(ctx context.Context, req *querypb.ReleasePartitionsRequest) (*commonpb.Status, error)