]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
osd: do not ignore deleted pgs on startup 3933/head
authorSage Weil <sage@redhat.com>
Fri, 23 Jan 2015 18:47:44 +0000 (10:47 -0800)
committerLoic Dachary <ldachary@redhat.com>
Tue, 10 Mar 2015 22:46:06 +0000 (23:46 +0100)
These need to get instantiated so that we can complete the removal process.

Fixes: #10617
Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit 879fd0c192f5d3c6afd36c2df359806ea95827b8)

src/osd/OSD.cc

index 77ed17aed027cbcbf78136719c3af221b7587203..bda863bf13f507d8477d99263a484f0aefa6f9d6 100644 (file)
@@ -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