If an osd in the prior set comes up, we can restart peering without a
new peering interval starting. However, we still want to ignore
anything we previously requested from replicas.
Signed-off-by: Samuel Just <samuel.just@dreamhost.com>
PG::RecoveryState::Reset::Reset(my_context ctx) : my_base(ctx) {
state_name = "Reset";
context< RecoveryMachine >().log_enter(state_name);
+ PG *pg = context< RecoveryMachine >().pg;
+ pg->set_last_peering_reset();
}
boost::statechart::result