]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd/PG: peek_map_epoch: skip legacy PGs if infos object is missing 5892/head
authorSage Weil <sage@redhat.com>
Fri, 11 Sep 2015 15:00:38 +0000 (11:00 -0400)
committerSage Weil <sage@redhat.com>
Sat, 12 Sep 2015 13:21:00 +0000 (09:21 -0400)
commit4be8a28d5b5ba868d100300ab64ebb82b188222b
tree4e9a9f91472c45bfa1b746ec85637e7450e9941f
parentf237ed97228839a1b412ad213945f0343df05bf5
osd/PG: peek_map_epoch: skip legacy PGs if infos object is missing

- pg is removed
- osd is stopped before pg is fully removed
- on restart, we ignore/skip the pg because its epoch is too old
- we upgrade to hammer and convert other pgs, skipping this one, and then
  remove the legacy infos object
- hammer starts, tries to parse the legacy pg, and fails because the infos
  object is gone, crashing.

The fix is to continue ignoring the zombie pg.

Fixes: #16030
Signed-off-by: Sage Weil <sage@redhat.com>
src/osd/PG.cc