mirror of https://github.com/milvus-io/milvus.git
[skip e2e] Improve SearchTask log format (#14753)
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>pull/14767/head
parent
77ef791b6e
commit
6400263f3c
|
@ -1895,7 +1895,7 @@ func (st *searchTask) PostExecute(ctx context.Context) error {
|
||||||
for {
|
for {
|
||||||
select {
|
select {
|
||||||
case <-st.TraceCtx().Done():
|
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())
|
return fmt.Errorf("searchTask:wait to finish failed, timeout: %d", st.ID())
|
||||||
case searchResults := <-st.resultBuf:
|
case searchResults := <-st.resultBuf:
|
||||||
// fmt.Println("searchResults: ", searchResults)
|
// fmt.Println("searchResults: ", searchResults)
|
||||||
|
|
Loading…
Reference in New Issue