github-actions[bot] commented on code in PR #62155:
URL: https://github.com/apache/doris/pull/62155#discussion_r3044623892
##########
be/src/exec/pipeline/dependency.cpp:
##########
@@ -62,7 +62,7 @@ void
Dependency::_add_block_task(std::shared_ptr<PipelineTask> task) {
_blocked_task.push_back(task);
}
-void Dependency::set_ready() {
+void Dependency::set_ready() noexcept {
Review Comment:
Because this function is now noexcept, the handlers below also need to be
non-throwing. In the exact OOM path mentioned in the PR, t->wake_up() can fail
with std::bad_alloc from scheduler submission, and then the catch blocks here
build formatted Status::InternalError messages. That formatting can allocate
again and throw inside set_ready(), which still escapes the noexcept boundary
and triggers std::terminate in the timer or background thread. Please make the
recovery path itself best effort and non-throwing as well.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]