mirror of
https://github.com/ceph/ceph
synced 2025-01-11 05:29:51 +00:00
osd: Don't set backfill_toofull in RemoteReservationRevoked path
We shouldn't set backfill_toofull when a revoke occurs in the non-toofull case. Fixes: https://tracker.ceph.com/issues/41255 Signed-off-by: David Zafman <dzafman@redhat.com>
This commit is contained in:
parent
6b0f3ce4cb
commit
fa569ecfec
@ -4553,7 +4553,6 @@ void PeeringState::WaitRemoteBackfillReserved::retry()
|
||||
}
|
||||
|
||||
ps->state_clear(PG_STATE_BACKFILL_WAIT);
|
||||
ps->state_set(PG_STATE_BACKFILL_TOOFULL);
|
||||
pl->publish_stats_to_osd();
|
||||
|
||||
pl->schedule_event_after(
|
||||
@ -4567,6 +4566,8 @@ void PeeringState::WaitRemoteBackfillReserved::retry()
|
||||
boost::statechart::result
|
||||
PeeringState::WaitRemoteBackfillReserved::react(const RemoteReservationRejected &evt)
|
||||
{
|
||||
DECLARE_LOCALS;
|
||||
ps->state_set(PG_STATE_BACKFILL_TOOFULL);
|
||||
retry();
|
||||
return transit<NotBackfilling>();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user