HappenLee commented on code in PR #34402: URL: https://github.com/apache/doris/pull/34402#discussion_r1590482584
########## be/src/pipeline/task_scheduler.h: ########## @@ -66,8 +66,8 @@ class TaskScheduler { private: std::unique_ptr<ThreadPool> _fix_thread_pool; std::shared_ptr<TaskQueue> _task_queue; - std::vector<std::unique_ptr<std::atomic<bool>>> _markers; - std::atomic<bool> _shutdown; + std::vector<bool> _markers; + bool _shutdown; Review Comment:  construct func do the work -- 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