This is an automated email from the ASF dual-hosted git repository. yangzhg pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-doris.git
The following commit(s) were added to refs/heads/master by this push: new 8823f2d [Buf] Fix incorrect name of TaskWorkerPool (#5015) 8823f2d is described below commit 8823f2d9280e52fedf2c93cc1a94d163ba7ff6d4 Author: Yingchun Lai <405403...@qq.com> AuthorDate: Fri Dec 4 09:30:23 2020 +0800 [Buf] Fix incorrect name of TaskWorkerPool (#5015) '_task_worker_type' is not well initialized when use it to init '_name', then '_name' is always 'TaskWorkerPool.CREATE_TABLE', this patch fix this bug. --- be/src/agent/task_worker_pool.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/be/src/agent/task_worker_pool.cpp b/be/src/agent/task_worker_pool.cpp index e5c979c..a408748 100644 --- a/be/src/agent/task_worker_pool.cpp +++ b/be/src/agent/task_worker_pool.cpp @@ -79,7 +79,7 @@ FrontendServiceClientCache TaskWorkerPool::_master_service_client_cache; TaskWorkerPool::TaskWorkerPool(const TaskWorkerType task_worker_type, ExecEnv* env, const TMasterInfo& master_info) - : _name(strings::Substitute("TaskWorkerPool.$0", TYPE_STRING(_task_worker_type))), + : _name(strings::Substitute("TaskWorkerPool.$0", TYPE_STRING(task_worker_type))), _master_info(master_info), _agent_utils(new AgentUtils()), _master_client(new MasterServerClient(_master_info, &_master_service_client_cache)), --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org