You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by mo...@apache.org on 2022/04/15 07:19:34 UTC

[incubator-doris] branch master updated: [fix] Fix bug of wrong argument of drop_tablet function (#9031)

This is an automated email from the ASF dual-hosted git repository.

morningman 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 d1d834694f [fix] Fix bug of wrong argument of drop_tablet function (#9031)
d1d834694f is described below

commit d1d834694f73493403f8b1dc6f3e0d9b265ecbd8
Author: Luwei <81...@qq.com>
AuthorDate: Fri Apr 15 15:19:28 2022 +0800

    [fix] Fix bug of wrong argument of drop_tablet function (#9031)
    
    introduced from #8574
---
 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 7b85d12271..23620861c2 100644
--- a/be/src/agent/task_worker_pool.cpp
+++ b/be/src/agent/task_worker_pool.cpp
@@ -421,7 +421,7 @@ void TaskWorkerPool::_drop_tablet_worker_thread_callback() {
                 drop_tablet_req.tablet_id, false, &err);
         if (dropped_tablet != nullptr) {
             Status drop_status = StorageEngine::instance()->tablet_manager()->drop_tablet(
-                    drop_tablet_req.tablet_id, drop_tablet_req.schema_hash);
+                    drop_tablet_req.tablet_id);
             if (!drop_status.ok()) {
                 LOG(WARNING) << "drop table failed! signature: " << agent_task_req.signature;
                 error_msgs.push_back("drop table failed!");


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org