Add log for watchDeltaChannelTask's nodeID (#14702)

Signed-off-by: xige-16 <xi.ge@zilliz.com>
pull/14792/head
xige-16 2022-01-04 20:45:24 +08:00 committed by GitHub
parent 03037f4ea7
commit abf1f58abe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -267,7 +267,7 @@ func (node *QueryNode) WatchDeltaChannels(ctx context.Context, in *queryPb.Watch
log.Error(err.Error())
return status, nil
}
log.Debug("watchDeltaChannelsTask Enqueue done", zap.Any("collectionID", in.CollectionID))
log.Debug("watchDeltaChannelsTask Enqueue done", zap.Int64("collectionID", in.CollectionID), zap.Int64("nodeID", Params.QueryNodeCfg.QueryNodeID))
waitFunc := func() (*commonpb.Status, error) {
err = dct.WaitToFinish()
@ -279,7 +279,7 @@ func (node *QueryNode) WatchDeltaChannels(ctx context.Context, in *queryPb.Watch
log.Error(err.Error())
return status, nil
}
log.Debug("watchDeltaChannelsTask WaitToFinish done", zap.Any("collectionID", in.CollectionID))
log.Debug("watchDeltaChannelsTask WaitToFinish done", zap.Int64("collectionID", in.CollectionID), zap.Int64("nodeID", Params.QueryNodeCfg.QueryNodeID))
return &commonpb.Status{
ErrorCode: commonpb.ErrorCode_Success,
}, nil