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.93~173^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=879fd0c192f5d3c6afd36c2df359806ea95827b8;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 --- diff --git a/src/osd/OSD.cc b/src/osd/OSD.cc index 4d6a01da7d24..07782e7da532 100644 --- a/src/osd/OSD.cc +++ b/src/osd/OSD.cc @@ -2776,12 +2776,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