gavinchou commented on code in PR #20215: URL: https://github.com/apache/doris/pull/20215#discussion_r1289541177
########## be/src/agent/task_worker_pool.cpp: ########## @@ -1963,4 +1745,239 @@ Status StorageMediumMigrateTaskPool::_check_migrate_request(const TStorageMedium return Status::OK(); } +CheckConsistencyTaskPool::CheckConsistencyTaskPool(ExecEnv* env, ThreadModel thread_model) Review Comment: It's better to reduce duplicated code that declares `XxxTaskPool` multiple times by invoking the template. Here is an example, the implementation of each callback (template specialization) can be put into a separate file  -- 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