From e2f3a0741a328a8e9113ea39a50a07efaa249221 Mon Sep 17 00:00:00 2001 From: hf0 Date: Mon, 27 Sep 2021 21:03:37 +0800 Subject: [PATCH] Allowing to change parent during waiting rebuild. --- src/clog/ob_log_cascading_mgr.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/clog/ob_log_cascading_mgr.cpp b/src/clog/ob_log_cascading_mgr.cpp index 7afcf79eea..d87a523196 100644 --- a/src/clog/ob_log_cascading_mgr.cpp +++ b/src/clog/ob_log_cascading_mgr.cpp @@ -1649,12 +1649,6 @@ int ObLogCascadingMgr::check_parent_state(const int64_t now, const common::ObReg } last_check_log_ts_ = next_replay_log_ts; last_check_parent_time_ = now; - } else if (state_mgr_->is_need_rebuild()) { - if (REACH_TIME_INTERVAL(5 * 1000 * 1000)) { - CLOG_LOG(INFO, "wait rebuild", K_(partition_key)); - } - last_check_log_ts_ = next_replay_log_ts; - last_check_parent_time_ = now; } else if (last_check_log_ts_ == next_replay_log_ts && need_update_parent_()) { // self is unsync && reach time interval, need update parent if (partition_reach_time_interval(5 * 60 * 1000 * 1000, check_parent_invalid_warn_time_)) { -- GitLab