mirror of https://github.com/milvus-io/milvus.git
[skip ci] Add comments for WatchDmChannels (#11119)
Signed-off-by: xige-16 <xi.ge@zilliz.com>pull/11130/head
parent
7c588e5652
commit
4df2c23780
|
@ -228,6 +228,7 @@ func (node *QueryNode) RemoveQueryChannel(ctx context.Context, in *queryPb.Remov
|
|||
return status, nil
|
||||
}
|
||||
|
||||
// WatchDmChannels create consumers on dmChannels to reveive Incremental data,which is the important part of real-time query
|
||||
func (node *QueryNode) WatchDmChannels(ctx context.Context, in *queryPb.WatchDmChannelsRequest) (*commonpb.Status, error) {
|
||||
code := node.stateCode.Load().(internalpb.StateCode)
|
||||
if code != internalpb.StateCode_Healthy {
|
||||
|
|
Loading…
Reference in New Issue