提交 e2f3a074 编写于 作者: H hf0 提交者: wangzelin.wzl

Allowing to change parent during waiting rebuild.

上级 64b53b6a
......@@ -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_)) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册