mirror of https://github.com/milvus-io/milvus.git
[skip ci]Add some comments in chap07_query_coordinator.md (#10520)
Signed-off-by: ruiyi.jiang <ruiyi.jiang@zilliz.com>pull/10522/head
parent
5c7af727ea
commit
2ee7463704
|
@ -233,6 +233,14 @@ type QueryNode interface {
|
|||
Component
|
||||
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)
|
||||
|
|
Loading…
Reference in New Issue