summaryrefslogtreecommitdiffstats
path: root/src/osd/PeeringState.cc
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/osd/PeeringState.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/osd/PeeringState.cc b/src/osd/PeeringState.cc
index 944b77c2812..22222b7f7af 100644
--- a/src/osd/PeeringState.cc
+++ b/src/osd/PeeringState.cc
@@ -5827,6 +5827,7 @@ PeeringState::Recovering::react(const DeferRecovery &evt)
ps->state_set(PG_STATE_RECOVERY_WAIT);
pl->cancel_local_background_io_reservation();
release_reservations(true);
+ pl->on_recovery_cancelled();
pl->schedule_event_after(
std::make_shared<PGPeeringEvent>(
ps->get_osdmap_epoch(),
@@ -5844,6 +5845,7 @@ PeeringState::Recovering::react(const UnfoundRecovery &evt)
ps->state_set(PG_STATE_RECOVERY_UNFOUND);
pl->cancel_local_background_io_reservation();
release_reservations(true);
+ pl->on_recovery_cancelled();
return transit<NotRecovering>();
}