This is an automated email from the ASF dual-hosted git repository. panxiaolei pushed a commit to branch selectdb-doris-2.1-glzq in repository https://gitbox.apache.org/repos/asf/doris.git
commit aa087d352f1d5cfb04fb84a4470ca59d22a40d7f Author: Gabriel <gabrielleeb...@gmail.com> AuthorDate: Mon Jul 22 18:22:22 2024 +0800 [fix](pipeline) Fix blocked tasks if query is canceled before opening (#38200) ## Proposed changes pick #38206 <!--Describe your changes.--> --- be/src/pipeline/pipeline_x/pipeline_x_task.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/be/src/pipeline/pipeline_x/pipeline_x_task.cpp b/be/src/pipeline/pipeline_x/pipeline_x_task.cpp index b13cd8c9c61..b723fe02d7a 100644 --- a/be/src/pipeline/pipeline_x/pipeline_x_task.cpp +++ b/be/src/pipeline/pipeline_x/pipeline_x_task.cpp @@ -162,6 +162,9 @@ Status PipelineXTask::_extract_dependencies() { write_dependencies.swap(_write_dependencies); finish_dependencies.swap(_finish_dependencies); } + if (query_context()->is_cancelled()) { + clear_blocking_state(); + } return Status::OK(); } --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org