Gabriel39 commented on code in PR #39031: URL: https://github.com/apache/doris/pull/39031#discussion_r1708854499
########## be/src/pipeline/dependency.cpp: ########## @@ -188,10 +188,12 @@ void LocalExchangeSharedState::sub_running_sink_operators() { } } -void LocalExchangeSharedState::sub_running_source_operators() { +void LocalExchangeSharedState::sub_running_source_operators( + LocalExchangeSourceLocalState& local_state) { std::unique_lock<std::mutex> lc(le_lock); if (exchanger->_running_source_operators.fetch_sub(1) == 1) { _set_always_ready(); Review Comment: Data queue will be set EOS if `_running_source_operators == 0` so sink operators will never put a new block into data queue. -- 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