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

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


The following commit(s) were added to refs/heads/branch-2.0 by this push:
     new 268442ccd9 [fix](pipeline) update status when prepare failed (#23508)
268442ccd9 is described below

commit 268442ccd90bfb86e0a440b38c6dc53397aac27c
Author: Mryange <59914473+mrya...@users.noreply.github.com>
AuthorDate: Fri Aug 25 20:40:45 2023 +0800

    [fix](pipeline) update status when prepare failed (#23508)
    
    * update
    
    * other
    
    * Revert "other"
    
    This reverts commit f82ac757471baf9fe0c3c6f11543a2ea0d1c00c8.
---
 be/src/runtime/fragment_mgr.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/be/src/runtime/fragment_mgr.cpp b/be/src/runtime/fragment_mgr.cpp
index b5d28a3719..5036878d75 100644
--- a/be/src/runtime/fragment_mgr.cpp
+++ b/be/src/runtime/fragment_mgr.cpp
@@ -908,6 +908,7 @@ Status FragmentMgr::exec_plan_fragment(const 
TPipelineFragmentParams& params,
             auto prepare_st = context->prepare(params, i);
             if (!prepare_st.ok()) {
                 context->close_if_prepare_failed();
+                context->update_status(prepare_st);
                 return prepare_st;
             }
         }


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

Reply via email to