From: Sage Weil Date: Sat, 28 Oct 2017 19:58:44 +0000 (-0500) Subject: mon/OSDMonitor: prune purged snaps X-Git-Tag: v13.0.2~844^2~2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=9607a2db466835406d6fb73ad6776eccdf3a7d6c;p=ceph.git mon/OSDMonitor: prune purged snaps Be a bit careful here because the mon has to do some bookkeeping to avoid pruning things twice. If the PGMapDigest set appears obviously stale, skip some work (looking at this particular interval) until it is not obviously stale--move onto the next interval instead. Signed-off-by: Sage Weil --- diff --git a/src/common/options.cc b/src/common/options.cc index 30de345e684f..72d0fbb44fbb 100644 --- a/src/common/options.cc +++ b/src/common/options.cc @@ -1153,6 +1153,10 @@ std::vector