yiguolei commented on code in PR #19734:
URL: https://github.com/apache/doris/pull/19734#discussion_r1196543373


##########
be/src/agent/task_worker_pool.h:
##########
@@ -263,4 +267,14 @@ class TaskWorkerPool {
 
     DISALLOW_COPY_AND_ASSIGN(TaskWorkerPool);
 }; // class TaskWorkerPool
+
+class CreateTableTaskPool : public TaskWorkerPool {
+public:
+    CreateTableTaskPool(ExecEnv* env, const TMasterInfo& master_info, 
ThreadModel thread_model);

Review Comment:
   这里不要传递master info了,这个会变,直接每次都从exec env 里拿就好了。 (虽然你这里用了引用,但是未来可能忘记,容易出错)



-- 
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

Reply via email to