pg->state_clear(PG_STATE_BACKFILL_TOOFULL);
pg->state_clear(PG_STATE_BACKFILL_WAIT);
pg->state_set(PG_STATE_BACKFILL);
+ pg->publish_stats_to_osd();
}
boost::statechart::result
context< RecoveryMachine >().log_enter(state_name);
PG *pg = context< RecoveryMachine >().pg;
pg->state_set(PG_STATE_BACKFILL_WAIT);
+ pg->publish_stats_to_osd();
post_event(RemoteBackfillReserved());
}
pg->state_clear(PG_STATE_BACKFILL_WAIT);
pg->state_set(PG_STATE_BACKFILL_TOOFULL);
+ pg->publish_stats_to_osd();
pg->schedule_backfill_full_retry();
pg, pg->get_osdmap()->get_epoch(),
LocalBackfillReserved()),
pg->get_backfill_priority());
+ pg->publish_stats_to_osd();
}
void PG::RecoveryState::WaitLocalBackfillReserved::exit()
NamedState(context< RecoveryMachine >().pg->cct, "Started/Primary/Active/NotBackfilling")
{
context< RecoveryMachine >().log_enter(state_name);
+ PG *pg = context< RecoveryMachine >().pg;
+ pg->publish_stats_to_osd();
}
boost::statechart::result
pg, pg->get_osdmap()->get_epoch(),
LocalRecoveryReserved()),
pg->get_recovery_priority());
+ pg->publish_stats_to_osd();
}
void PG::RecoveryState::WaitLocalRecoveryReserved::exit()
PG *pg = context< RecoveryMachine >().pg;
pg->state_clear(PG_STATE_RECOVERY_WAIT);
pg->state_set(PG_STATE_RECOVERING);
+ pg->publish_stats_to_osd();
pg->queue_recovery();
}