]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd/PeeringState.cc: skip peer_purged when discovering all missing 32195/head
authorNeha <nojha@redhat.com>
Wed, 11 Dec 2019 23:47:19 +0000 (23:47 +0000)
committerNeha <nojha@redhat.com>
Wed, 11 Dec 2019 23:56:33 +0000 (23:56 +0000)
commit4960f579a234f9984d73767fde073c419e884c17
tree737de2eaf2ee21299ad3e0fc404e8ac9b6e78b96
parentaa760fa501776fed4c8c5a3bcba96fa3575eac07
osd/PeeringState.cc: skip peer_purged when discovering all missing

We hit a couple of bugs because in discover_all_missing() we send
pg_query to an OSD that was marked stray and already got purged. This results
in a state machine crash on the purged OSD. Fix this by skipping any
purged peers.

Fixes: https://tracker.ceph.com/issues/41317
Fixes: https://tracker.ceph.com/issues/40963
Signed-off-by: Neha Ojha <nojha@redhat.com>
src/osd/PeeringState.cc