You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by yi...@apache.org on 2023/04/03 01:30:04 UTC

[doris] branch branch-1.2-lts updated: [cherry-pick](query exec) should print error status when query meet error #18247

This is an automated email from the ASF dual-hosted git repository.

yiguolei pushed a commit to branch branch-1.2-lts
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/branch-1.2-lts by this push:
     new 54228425b3 [cherry-pick](query exec) should print error status when query meet error #18247
54228425b3 is described below

commit 54228425b3c89a073465754babe78d0006b0cc67
Author: yiguolei <yi...@gmail.com>
AuthorDate: Mon Apr 3 09:29:49 2023 +0800

    [cherry-pick](query exec) should print error status when query meet error #18247
---
 be/src/runtime/fragment_mgr.cpp | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/be/src/runtime/fragment_mgr.cpp b/be/src/runtime/fragment_mgr.cpp
index 37b2f86a5a..2b069d78a2 100644
--- a/be/src/runtime/fragment_mgr.cpp
+++ b/be/src/runtime/fragment_mgr.cpp
@@ -115,6 +115,9 @@ public:
         std::lock_guard<std::mutex> l(_status_lock);
         if (!status.ok() && _exec_status.ok()) {
             _exec_status = status;
+            LOG(WARNING) << "query_id=" << print_id(_query_id)
+                         << ", instance_id=" << print_id(_fragment_instance_id)
+                         << " meet error status " << status;
         }
         return _exec_status;
     }


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org