This is an automated email from the ASF dual-hosted git repository.

yiguolei pushed a commit to branch branch-2.1
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/branch-2.1 by this push:
     new 848234bd923 [fix](exchange) query blocked by exchange reach limit 
(#42853)
848234bd923 is described below

commit 848234bd9238e969991aedbaff6309da3fef1bb2
Author: Jerry Hu <[email protected]>
AuthorDate: Wed Oct 30 10:13:26 2024 +0800

    [fix](exchange) query blocked by exchange reach limit (#42853)
    
    ## Proposed changes
    
    Issue Number: close #xxx
    
    <!--Describe your changes.-->
---
 be/src/pipeline/exec/exchange_sink_buffer.cpp | 9 +--------
 1 file changed, 1 insertion(+), 8 deletions(-)

diff --git a/be/src/pipeline/exec/exchange_sink_buffer.cpp 
b/be/src/pipeline/exec/exchange_sink_buffer.cpp
index 54c29a0222e..63b69713f0d 100644
--- a/be/src/pipeline/exec/exchange_sink_buffer.cpp
+++ b/be/src/pipeline/exec/exchange_sink_buffer.cpp
@@ -480,18 +480,11 @@ bool 
ExchangeSinkBuffer<Parent>::_is_receiver_eof(InstanceLoId id) {
 }
 
 template <typename Parent>
-void ExchangeSinkBuffer<Parent>::_turn_off_channel(InstanceLoId id, bool 
cleanup) {
+void ExchangeSinkBuffer<Parent>::_turn_off_channel(InstanceLoId id, bool 
/*cleanup*/) {
     if (!_rpc_channel_is_idle[id]) {
         _rpc_channel_is_idle[id] = true;
         auto all_done = _busy_channels.fetch_sub(1) == 1;
         _set_ready_to_finish(all_done);
-        if (cleanup && all_done) {
-            auto weak_task_ctx = weak_task_exec_ctx();
-            if (auto pip_ctx = weak_task_ctx.lock()) {
-                DCHECK(_parent);
-                _parent->set_reach_limit();
-            }
-        }
     }
 }
 


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to