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

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


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

commit d5c6a0c8cfe24067095841225f75168e6052993b
Author: github-actions[bot] 
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Mon Mar 10 14:51:06 2025 +0800

    branch-3.0: [Chore](client) Do not log in thrift exception when 
ADDRESS_SANITIZER is defined #48430 (#48453)
    
    Cherry-picked from #48430
    
    Co-authored-by: Pxl <[email protected]>
---
 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 9abdc18ee35..c8c012543f9 100644
--- a/be/src/runtime/fragment_mgr.cpp
+++ b/be/src/runtime/fragment_mgr.cpp
@@ -618,10 +618,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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to