From: Sage Weil Date: Fri, 23 Jan 2015 18:47:44 +0000 (-0800) Subject: osd: do not ignore deleted pgs on startup X-Git-Tag: v0.80.10~58^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F3933%2Fhead;p=ceph.git osd: do not ignore deleted pgs on startup These need to get instantiated so that we can complete the removal process. Fixes: #10617 Signed-off-by: Sage Weil (cherry picked from commit 879fd0c192f5d3c6afd36c2df359806ea95827b8) --- diff --git a/src/osd/OSD.cc b/src/osd/OSD.cc index 77ed17aed02..bda863bf13f 100644 --- a/src/osd/OSD.cc +++ b/src/osd/OSD.cc @@ -2104,12 +2104,6 @@ void OSD::load_pgs() continue; } - if (!osdmap->have_pg_pool(pgid.pool())) { - dout(10) << __func__ << ": skipping PG " << pgid << " because we don't have pool " - << pgid.pool() << dendl; - continue; - } - if (pgid.preferred() >= 0) { dout(10) << __func__ << ": skipping localized PG " << pgid << dendl; // FIXME: delete it too, eventually