]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd/PG: ignore RemoteReservationRejected if we are RepNotRecoverying
authorSage Weil <sage@redhat.com>
Sun, 1 Oct 2017 20:03:22 +0000 (15:03 -0500)
committerSage Weil <sage@redhat.com>
Sun, 1 Oct 2017 20:06:22 +0000 (15:06 -0500)
commit1ce235c5dd0b777223f6465e71fb7ee4befd13d8
treed1479cd626febc8a1496da4213d62b004c67692b
parentf5809afb0f2ca2f1187609e645d6c4c5bd73e39d
osd/PG: ignore RemoteReservationRejected if we are RepNotRecoverying

The primary may send us a REJECT (meaning cancel) if recovery/backfill is
preempted there.  That can happen even if the recovery isn't reserved or
requested here (e.g., because the primary is still waiting for the local
reservation).  Just ignore it and remain in RepNotRecovering.

Fixes: http://tracker.ceph.com/issues/21613
Signed-off-by: Sage Weil <sage@redhat.com>
src/osd/PG.h