From: David Zafman Date: Wed, 1 Nov 2017 16:53:34 +0000 (-0700) Subject: osd: build_past_intervals_parallel: Ignore new partially created PGs X-Git-Tag: v12.2.2~52^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=35de92b259f50b52e51ab1daf57041553170406d;p=ceph.git osd: build_past_intervals_parallel: Ignore new partially created PGs Fixes: http://tracker.ceph.com/issues/21833 Signed-off-by: David Zafman --- diff --git a/src/osd/OSD.cc b/src/osd/OSD.cc index c586afccefd..36c7e519485 100644 --- a/src/osd/OSD.cc +++ b/src/osd/OSD.cc @@ -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);