yiguolei commented on code in PR #39031: URL: https://github.com/apache/doris/pull/39031#discussion_r1708835584
########## 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: This API will also set sink depdendency to always ready. If it is always ready, then the sink pipeline may add many many blocks to the queue, maybe it will OOM? -- 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