yiguolei commented on code in PR #49281: URL: https://github.com/apache/doris/pull/49281#discussion_r2008785783
########## be/src/pipeline/dependency.cpp: ########## @@ -68,32 +68,33 @@ void Dependency::set_ready() { local_block_task.swap(_blocked_task); } for (auto* task : local_block_task) { - task->wake_up(); + { + std::unique_lock<std::mutex> lc(_task_lock); + THROW_IF_ERROR(task->make_runnable(this)); + } + task->wake_up(this); Review Comment: 直接使用wake up 函数,然后再wake up 函数里,把make runnable 函数的功能做了是否ok? -- 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