未验证 提交 cf8e9d52 编写于 作者: D dragondriver 提交者: GitHub

Reduce the log of proxy (#6766)

Signed-off-by: Ndragondriver <jiquan.long@zilliz.com>
上级 c633e579
......@@ -1620,7 +1620,7 @@ func decodeSearchResultsSerial(searchResults []*internalpb.SearchResults) ([]*sc
results := make([]*schemapb.SearchResultData, 0)
// necessary to parallel this?
for i, partialSearchResult := range searchResults {
log.Debug("decodeSearchResultsSerial", zap.Any("i", i), zap.Any("SlicedBob", partialSearchResult.SlicedBlob))
log.Debug("decodeSearchResultsSerial", zap.Any("i", i), zap.Any("len(SlicedBob)", len(partialSearchResult.SlicedBlob)))
if partialSearchResult.SlicedBlob == nil {
continue
}
......
......@@ -701,7 +701,7 @@ func (sched *TaskScheduler) collectResultLoop() {
continue
}
t := sched.getTaskByReqID(reqID)
log.Debug("Proxy collectResultLoop Got a SearchResultMsg", zap.Any("ReqID", reqID), zap.Any("t", t))
log.Debug("Proxy collectResultLoop Got a SearchResultMsg", zap.Any("ReqID", reqID))
if t == nil {
log.Debug("Proxy collectResultLoop GetTaskByReqID failed", zap.String("reqID", reqIDStr))
delete(searchResultBufs, reqID)
......@@ -711,7 +711,7 @@ func (sched *TaskScheduler) collectResultLoop() {
st, ok := t.(*SearchTask)
if !ok {
log.Debug("Proxy collectResultLoop type assert t as SearchTask failed", zap.Any("t", t))
log.Debug("Proxy collectResultLoop type assert t as SearchTask failed", zap.Any("ReqID", reqID))
delete(searchResultBufs, reqID)
searchResultBufFlags[reqID] = true
continue
......@@ -800,7 +800,7 @@ func (sched *TaskScheduler) collectResultLoop() {
continue
}
t := sched.getTaskByReqID(reqID)
log.Debug("Proxy collectResultLoop Got a queryResultMsg", zap.Any("ReqID", reqID), zap.Any("t", t))
log.Debug("Proxy collectResultLoop Got a queryResultMsg", zap.Any("ReqID", reqID))
if t == nil {
log.Debug("Proxy collectResultLoop GetTaskByReqID failed", zap.String("reqID", reqIDStr))
delete(queryResultBufs, reqID)
......@@ -810,7 +810,7 @@ func (sched *TaskScheduler) collectResultLoop() {
st, ok := t.(*RetrieveTask)
if !ok {
log.Debug("Proxy collectResultLoop type assert t as RetrieveTask failed", zap.Any("t", t))
log.Debug("Proxy collectResultLoop type assert t as RetrieveTask failed")
delete(queryResultBufs, reqID)
queryResultBufFlags[reqID] = true
continue
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册