]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
osd: build_past_intervals_parallel: Ignore new partially created PGs 18673/head
authorDavid Zafman <dzafman@redhat.com>
Wed, 1 Nov 2017 16:53:34 +0000 (09:53 -0700)
committerDavid Zafman <dzafman@redhat.com>
Wed, 1 Nov 2017 20:33:17 +0000 (13:33 -0700)
Fixes: http://tracker.ceph.com/issues/21833
Signed-off-by: David Zafman <dzafman@redhat.com>
src/osd/OSD.cc

index c586afccefda2c06273b1aec224188605d45bdd0..36c7e5194854df825001cdf168679b1a5d243c37 100644 (file)
@@ -4074,6 +4074,11 @@ void OSD::build_past_intervals_parallel()
         ++i) {
       PG *pg = i->second;
 
+      // Ignore PGs only partially created (DNE)
+      if (pg->info.dne()) {
+       continue;
+      }
+
       auto rpib = pg->get_required_past_interval_bounds(
        pg->info,
        superblock.oldest_map);