]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
OSD: handle the case where we resurrected an old, deleted pg 4539/head
authorSamuel Just <sjust@redhat.com>
Tue, 21 Apr 2015 06:45:57 +0000 (23:45 -0700)
committerSamuel Just <sjust@redhat.com>
Fri, 1 May 2015 13:38:12 +0000 (06:38 -0700)
commitfbfd50de5b9b40d71d2e768418a8eca28b1afaca
treeeaaec6b3cfb5e1a9414e2ec779cd4b84574e10bc
parenta84ae7b14e1aaa1c6f65d09a78230b54d0c25110
OSD: handle the case where we resurrected an old, deleted pg

Prior to giant, we would skip pgs in load_pgs which were not present in
the current osdmap.  Those pgs would eventually refer to very old
osdmaps, which we no longer have causing the assertion failure in 11429
once the osd is finally upgraded to a version which does not skip the
pgs.  Instead, if we do not have the map for the pg epoch, complain to
the osd log and skip the pg.

Fixes: 11429
Signed-off-by: Samuel Just <sjust@redhat.com>
src/osd/OSD.cc