mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-11-30 19:08:30 +08:00
[skip e2e]Improve AddQueryChannel log (#14962)
Signed-off-by: xige-16 <xi.ge@zilliz.com>
This commit is contained in:
parent
d5b62973b1
commit
0004238669
@ -116,7 +116,11 @@ func (node *QueryNode) AddQueryChannel(ctx context.Context, in *queryPb.AddQuery
|
||||
log.Error(err.Error())
|
||||
return status, nil
|
||||
}
|
||||
log.Debug("addQueryChannelTask Enqueue done", zap.Any("collectionID", in.CollectionID))
|
||||
log.Debug("addQueryChannelTask Enqueue done",
|
||||
zap.Int64("collectionID", in.CollectionID),
|
||||
zap.String("queryChannel", in.QueryChannel),
|
||||
zap.String("queryResultChannel", in.QueryResultChannel),
|
||||
)
|
||||
|
||||
waitFunc := func() (*commonpb.Status, error) {
|
||||
err = dct.WaitToFinish()
|
||||
@ -128,7 +132,12 @@ func (node *QueryNode) AddQueryChannel(ctx context.Context, in *queryPb.AddQuery
|
||||
log.Error(err.Error())
|
||||
return status, nil
|
||||
}
|
||||
log.Debug("addQueryChannelTask WaitToFinish done", zap.Any("collectionID", in.CollectionID))
|
||||
log.Debug("addQueryChannelTask WaitToFinish done",
|
||||
zap.Int64("collectionID", in.CollectionID),
|
||||
zap.String("queryChannel", in.QueryChannel),
|
||||
zap.String("queryResultChannel", in.QueryResultChannel),
|
||||
)
|
||||
|
||||
return &commonpb.Status{
|
||||
ErrorCode: commonpb.ErrorCode_Success,
|
||||
}, nil
|
||||
|
Loading…
Reference in New Issue
Block a user