[skip ci] Add comments for WatchDmChannels (#11119)

Signed-off-by: xige-16 <xi.ge@zilliz.com>
pull/11130/head
xige-16 2021-11-02 22:00:38 +08:00 committed by GitHub
parent 7c588e5652
commit 4df2c23780
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -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 datawhich 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 {