fix ob_build_index_scheduler not repicking source candidate after send_copy_replica_rpc() fails

This commit is contained in:
YoungYang0820 2021-12-02 10:39:37 +08:00 committed by LINxiansheng
parent b1ec5d3524
commit b82a7f5e4b

View File

@ -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();