BiteTheDDDDt opened a new pull request, #64946:
URL: https://github.com/apache/doris/pull/64946

   ### What problem does this PR solve?
   
   Issue Number: None
   
   Related PR: #64899
   
   Problem Summary: Backport #64899 to branch-4.0. A runtime filter dependency 
can submit a pipeline task after the task has started close/finalize. On 
branch-4.0, HybridTaskScheduler::submit() calls PipelineTask::is_blockable(), 
which reads task sink/operator resources that finalize releases. This adds a 
submit gate so terminal close/finalize rejects late hybrid scheduler submits 
before is_blockable() can touch released resources.
   
   ### Release note
   
   None
   
   ### Check List (For Author)
   
   - Test: Unit Test / Static check
       - build-support/clang-format.sh be/src/pipeline/pipeline_task.cpp 
be/src/pipeline/pipeline_task.h be/src/pipeline/task_scheduler.cpp 
be/test/pipeline/pipeline_task_test.cpp && build-support/check-format.sh 
be/src/pipeline/pipeline_task.cpp be/src/pipeline/pipeline_task.h 
be/src/pipeline/task_scheduler.cpp be/test/pipeline/pipeline_task_test.cpp
       - ./run-be-ut.sh --run 
--filter=PipelineTaskTest.TEST_CLOSED_TASK_REJECTS_HYBRID_SUBMIT_BEFORE_FINALIZE:PipelineTaskTest.TEST_FINALIZED_TASK_REJECTS_HYBRID_SUBMIT
   - Behavior changed: No
   - Does this need documentation: No


-- 
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]

Reply via email to