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

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


The following commit(s) were added to refs/heads/branch-2.1 by this push:
     new c5e67bf82d4 branch-2.1: [Chore](client) Do not log in thrift exception 
when ADDRESS_SANITIZER is defined #48430 (#48455)
c5e67bf82d4 is described below

commit c5e67bf82d4376dd799b52de97a9bc79a4c2726f
Author: github-actions[bot] 
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Fri Feb 28 15:12:12 2025 +0800

    branch-2.1: [Chore](client) Do not log in thrift exception when 
ADDRESS_SANITIZER is defined #48430 (#48455)
    
    Cherry-picked from #48430
    
    Co-authored-by: Pxl <x...@selectdb.com>
---
 be/src/runtime/fragment_mgr.cpp | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/be/src/runtime/fragment_mgr.cpp b/be/src/runtime/fragment_mgr.cpp
index 0788b5e3206..a60ef30a7ba 100644
--- a/be/src/runtime/fragment_mgr.cpp
+++ b/be/src/runtime/fragment_mgr.cpp
@@ -649,10 +649,12 @@ void FragmentMgr::coordinator_callback(const 
ReportStatusRequest& req) {
     try {
         try {
             coord->reportExecStatus(res, params);
-        } catch (TTransportException& e) {
+        } catch ([[maybe_unused]] TTransportException& e) {
+#ifndef ADDRESS_SANITIZER
             LOG(WARNING) << "Retrying ReportExecStatus. query id: " << 
print_id(req.query_id)
                          << ", instance id: " << 
print_id(req.fragment_instance_id) << " to "
                          << req.coord_addr << ", err: " << e.what();
+#endif
             rpc_status = coord.reopen();
 
             if (!rpc_status.ok()) {


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

Reply via email to