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

panxiaolei pushed a commit to branch cp_1217_2
in repository https://gitbox.apache.org/repos/asf/doris.git

commit 1cfd954dd49594001bf5d7359470285115448330
Author: BiteTheDDDDt <pxl...@qq.com>
AuthorDate: Tue Dec 17 15:02:11 2024 +0800

    catch exception on task::prepare to avoid exception make backend coredump
---
 be/src/pipeline/pipeline_x/pipeline_x_fragment_context.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/be/src/pipeline/pipeline_x/pipeline_x_fragment_context.cpp 
b/be/src/pipeline/pipeline_x/pipeline_x_fragment_context.cpp
index 8c2075497a9..955100ec4ac 100644
--- a/be/src/pipeline/pipeline_x/pipeline_x_fragment_context.cpp
+++ b/be/src/pipeline/pipeline_x/pipeline_x_fragment_context.cpp
@@ -683,7 +683,7 @@ Status PipelineXFragmentContext::_build_pipeline_x_tasks(
 
         auto prepare_and_set_parent_profile = [&](PipelineXTask* task, size_t 
pip_idx) {
             DCHECK(pipeline_id_to_profile[pip_idx]);
-            RETURN_IF_ERROR(
+            RETURN_IF_ERROR_OR_CATCH_EXCEPTION(
                     task->prepare(local_params, request.fragment.output_sink, 
_query_ctx.get()));
             return 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