]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd/PG: ignore CancelRecovery in NotRecovering 16638/head
authorSage Weil <sage@redhat.com>
Thu, 27 Jul 2017 20:59:44 +0000 (16:59 -0400)
committerSage Weil <sage@redhat.com>
Thu, 27 Jul 2017 20:59:44 +0000 (16:59 -0400)
commit4af49a886679ceb8e8afba47f04e828e5911e325
tree550ab1e18b19b00a7203f8fcfcdddd8ff1bc1c2e
parent5e46c354cfaaf01f6ad94ec19597d61fb47b0d3b
osd/PG: ignore CancelRecovery in NotRecovering

It's possible to get >1 CancelRecovery events in the queue.
The first will transition us from Recovering to NotRecovering.
Currently the second will make us crash.

This is harmless; instead just swallow the event.

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