HappenLee commented on code in PR #48118:
URL: https://github.com/apache/doris/pull/48118#discussion_r1963161429
##########
be/src/pipeline/task_scheduler.cpp:
##########
@@ -111,28 +114,28 @@ void TaskScheduler::_do_work(int index) {
}
task->log_detail_if_need();
task->set_running(true);
+ bool fragment_is_finished = false;
+ Defer task_running_defer {[&, fragment_is_finished =
&fragment_is_finished]() {
Review Comment:
why here use &? still need a pointer of `fragment_is_finished`
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]