This is an automated email from the ASF dual-hosted git repository.
wangbo pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/master by this push:
new 6c57c3c70dc [fix](ub) Dont throw in noexcept function (#45672)
6c57c3c70dc is described below
commit 6c57c3c70dc669ba386782bfa85baa096129852c
Author: zclllyybb <[email protected]>
AuthorDate: Thu Dec 19 22:00:18 2024 +0800
[fix](ub) Dont throw in noexcept function (#45672)
---
be/src/pipeline/exec/exchange_sink_buffer.h | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/be/src/pipeline/exec/exchange_sink_buffer.h
b/be/src/pipeline/exec/exchange_sink_buffer.h
index a381c5aff14..458c7c3f66e 100644
--- a/be/src/pipeline/exec/exchange_sink_buffer.h
+++ b/be/src/pipeline/exec/exchange_sink_buffer.h
@@ -155,9 +155,10 @@ public:
start_rpc_time);
}
} catch (const std::exception& exp) {
- throw Exception(Status::FatalError("brpc callback error: {}",
exp.what()));
+ LOG(FATAL) << "brpc callback error: " << exp.what();
} catch (...) {
- throw Exception(Status::FatalError("brpc callback error."));
+ LOG(FATAL) << "brpc callback error.";
+ __builtin_unreachable();
}
}
int64_t start_rpc_time;
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]