Remove meaningless logs (#20051)

Fixes: #20050

Signed-off-by: yangxuan <xuan.yang@zilliz.com>

Signed-off-by: yangxuan <xuan.yang@zilliz.com>
pull/20070/head
XuanYang-cn 2022-10-25 17:53:32 +08:00 committed by GitHub
parent e54b6181b6
commit 0a2436fbe7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 1 deletions

View File

@ -986,7 +986,12 @@ func (sc *ShardCluster) Search(ctx context.Context, req *querypb.SearchRequest,
wg.Wait()
if err != nil {
log.Error("failed to do search", zap.Any("req", req), zap.Error(err))
log.Error("failed to do search",
zap.Int64("msgID", req.GetReq().GetBase().GetMsgID()),
zap.Int64("sourceID", req.GetReq().GetBase().GetSourceID()),
zap.Strings("channels", req.GetDmlChannels()),
zap.Int64s("segmentIDs", req.GetSegmentIDs()),
zap.Error(err))
return nil, err
}