This is an automated email from the ASF dual-hosted git repository. kxiao pushed a commit to branch branch-2.0 in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-2.0 by this push: new 6a54e573aba [fix]fix be core when migration tablet to other disk #37712 (#38726) 6a54e573aba is described below commit 6a54e573abacdba09c1b645438d9e8319a91c44d Author: Kang <kxiao.ti...@gmail.com> AuthorDate: Thu Aug 1 21:05:17 2024 +0800 [fix]fix be core when migration tablet to other disk #37712 (#38726) Co-authored-by: z404289981 --- be/src/http/action/tablet_migration_action.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/be/src/http/action/tablet_migration_action.cpp b/be/src/http/action/tablet_migration_action.cpp index 3d5b40ae186..b0594c7fef6 100644 --- a/be/src/http/action/tablet_migration_action.cpp +++ b/be/src/http/action/tablet_migration_action.cpp @@ -73,7 +73,8 @@ void TabletMigrationAction::handle(HttpRequest* req) { } _migration_tasks[current_task] = "submitted"; } - auto st = _migration_thread_pool->submit_func([&, dest_disk, current_task]() { + auto st = _migration_thread_pool->submit_func([&, tablet, dest_store, + current_task]() { { std::unique_lock<std::mutex> lock(_migration_status_mutex); _migration_tasks[current_task] = "running"; --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org