[skip e2e] Improve SearchTask log format (#14753)

Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
pull/14767/head
congqixia 2022-01-04 14:15:39 +08:00 committed by GitHub
parent 77ef791b6e
commit 6400263f3c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1895,7 +1895,7 @@ func (st *searchTask) PostExecute(ctx context.Context) error {
for {
select {
case <-st.TraceCtx().Done():
log.Debug("Proxy", zap.Int64("searchTask PostExecute Loop exit caused by ctx.Done", st.ID()))
log.Debug("Proxy searchTask PostExecute Loop exit caused by ctx.Done", zap.Int64("taskID", st.ID()))
return fmt.Errorf("searchTask:wait to finish failed, timeout: %d", st.ID())
case searchResults := <-st.resultBuf:
// fmt.Println("searchResults: ", searchResults)