Skip to content

Commit

Permalink
[fix](pipeline) Fix blocked tasks if query is canceled before opening (
Browse files Browse the repository at this point in the history
…#38200)

## Proposed changes

pick #38206

<!--Describe your changes.-->
  • Loading branch information
Gabriel39 authored and Doris-Extras committed Jul 23, 2024
1 parent d5a02e0 commit aa087d3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions be/src/pipeline/pipeline_x/pipeline_x_task.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}

Expand Down

0 comments on commit aa087d3

Please sign in to comment.