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

   ### What problem does this PR solve?
    Previously, sub_running_sink_operators was called only when encountering 
EOS during sink 
    or when all sources were closed. However, this approach has issues, as it’s 
possible 
    for the user to manually cancel, in which case there may be no EOS and the 
sources may 
    not be closed. This would prevent running_sink_operators from reaching 
zero, leading to errors.
   ```
   PipelineTask[this = 0x7fc369fe9600, id = 0, open = true, eos = false, finish 
= false, dry run = false, elapse time = 26361.740784032s], block dependency = 
NULL, is running = true
   operators: 
   LOCAL_EXCHANGE_OPERATOR (LOCAL_MERGE_SORT): id=-5, parallel_tasks=4, 
_channel_id: 0, _num_partitions: 4, _num_senders: 4, _num_sources: 4, 
_running_sink_operators: 1, _running_source_operators: 1, mem_usage: 0, data 
queue info: Data Queue 0: [size approx = 0, eos = false], MemTrackers: 0: 0, 1: 
34537472, 2: 5701632, 3: 0, 
     DATA_STREAM_SINK_OPERATOR: id=6, Sink Buffer: (_should_stop = false, 
_busy_channels = 0, _is_finishing = false), _reach_limit: false
   0.   this=0x7fc376438f10, LOCAL_MERGE_EXCHANGE_OPERATOR_DEPENDENCY: id=-5, 
block task = 0, ready=true, _always_ready=true
   0.   this=0x7fc3764bc110, LOCAL_MERGE_EXCHANGE_OPERATOR_DEPENDENCY: id=-5, 
block task = 0, ready=true, _always_ready=true
   0.   this=0x7fc3764bc310, LOCAL_MERGE_EXCHANGE_OPERATOR_DEPENDENCY: id=-5, 
block task = 0, ready=true, _always_ready=true
   0.   this=0x7fc3764bc510, LOCAL_MERGE_EXCHANGE_OPERATOR_DEPENDENCY: id=-5, 
block task = 0, ready=true, _always_ready=true
   ```
   
   ### Release note
   
   None
   
   ### Check List (For Author)
   
   - Test <!-- At least one of them must be included. -->
       - [ ] Regression test
       - [ ] Unit Test
       - [ ] Manual test (add detailed scripts or steps below)
       - [ ] No need to test or manual test. Explain why:
           - [ ] This is a refactor/code format and no logic has been changed.
           - [ ] Previous test can cover this change.
           - [ ] No code files have been changed.
           - [ ] Other reason <!-- Add your reason?  -->
   
   - Behavior changed:
       - [ ] No.
       - [ ] Yes. <!-- Explain the behavior change -->
   
   - Does this need documentation?
       - [ ] No.
       - [ ] Yes. <!-- Add document PR link here. eg: 
https://github.com/apache/doris-website/pull/1214 -->
   
   ### Check List (For Reviewer who merge this PR)
   
   - [ ] Confirm the release note
   - [ ] Confirm test cases
   - [ ] Confirm document
   - [ ] Add branch pick label <!-- Add branch pick label that this PR should 
merge into -->
   
   


-- 
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: commits-unsubscr...@doris.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


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

Reply via email to