From b82a7f5e4b6e91322c3a41ee992863023341b5f6 Mon Sep 17 00:00:00 2001 From: YoungYang0820 Date: Thu, 2 Dec 2021 10:39:37 +0800 Subject: [PATCH] fix ob_build_index_scheduler not repicking source candidate after send_copy_replica_rpc() fails --- src/storage/ob_build_index_scheduler.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/storage/ob_build_index_scheduler.cpp b/src/storage/ob_build_index_scheduler.cpp index cd5a26e31d..181cf9fedb 100644 --- a/src/storage/ob_build_index_scheduler.cpp +++ b/src/storage/ob_build_index_scheduler.cpp @@ -850,6 +850,7 @@ int ObBuildIndexScheduleTask::copy_build_index_data(const bool is_leader) } else { ret = OB_SUCCESS; } + ++retry_cnt_; } else { is_copy_request_sent_ = true; last_active_timestamp_ = ObTimeUtility::current_time(); -- GitLab