Mryange opened a new pull request, #43617: URL: https://github.com/apache/doris/pull/43617
### What problem does this PR solve? Unlike other local exchanges, local merge has a while loop. Previously, there were issues with infinite loops. ``` LOCAL_EXCHANGE_OPERATOR (LOCAL_MERGE_SORT): id=-4, parallel_tasks=4, _is_serial_operator=false, _channel_id: 0, _num_partitions: 4, _num_senders: 4, _num_sources: 4, _running_sink_operators: 0, _running_source_operators: 1, mem_usage: 0, data queue info: Data Queue 0: [size approx = 0, eos = false , block_supplier [still running = false, all have eof = false] ], MemTrackers: 0: 0, 1: 768, 2: 768, 3: 0, DATA_STREAM_SINK_OPERATOR: id=5, _is_serial_operator=false, Sink Buffer: (_is_finishing = false, blocks in queue: 0, queue capacity: 64, queue dep: 0x7fc0cc814010), _reach_limit: false, working channels: 1 0. this=0x7fbd6169c510, LOCAL_MERGE_EXCHANGE_OPERATOR_DEPENDENCY: id=-4, block task = 0, ready=true, _always_ready=true 0. this=0x7fbd6169c710, LOCAL_MERGE_EXCHANGE_OPERATOR_DEPENDENCY: id=-4, block task = 0, ready=true, _always_ready=true 0. this=0x7fbd6169c910, LOCAL_MERGE_EXCHANGE_OPERATOR_DEPENDENCY: id=-4, block task = 0, ready=true, _always_ready=true 0. this=0x7fbd6169cb10, LOCAL_MERGE_EXCHANGE_OPERATOR_DEPENDENCY: id=-4, block task = 0, ready=true, _always_ready=true operators: LOCAL_EXCHANGE_OPERATOR (LOCAL_MERGE_SORT): id=-4, parallel_tasks=4, _is_serial_operator=false, _channel_id: 0, _num_partitions: 4, _num_senders: 4, _num_sources: 4, _running_sink_operators: 0, _running_source_operators: 1, mem_usage: 0, data queue info: Data Queue 0: [size approx = 0, eos = false , block_supplier [still running = true, all have eof = false] ], MemTrackers: 0: 0, 1: 0, 2: 0, 3: 0, DATA_STREAM_SINK_OPERATOR: id=5, _is_serial_operator=false, Sink Buffer: (_is_finishing = false, blocks in queue: 0, queue capacity: 64, queue dep: 0x7fc11a275810), _reach_limit: false, working channels: 1 0. this=0x7fc099b94410, LOCAL_MERGE_EXCHANGE_OPERATOR_DEPENDENCY: id=-4, block task = 0, ready=true, _always_ready=true 0. this=0x7fc099b94610, LOCAL_MERGE_EXCHANGE_OPERATOR_DEPENDENCY: id=-4, block task = 0, ready=true, _always_ready=true 0. this=0x7fc099b94810, LOCAL_MERGE_EXCHANGE_OPERATOR_DEPENDENCY: id=-4, block task = 0, ready=true, _always_ready=true 0. this=0x7fc099b94a10, LOCAL_MERGE_EXCHANGE_OPERATOR_DEPENDENCY: id=-4, block task = 0, ready=true, _always_ready=true ``` 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