]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mon/OSDMonitor: prune purged snaps
authorSage Weil <sage@redhat.com>
Sat, 28 Oct 2017 19:58:44 +0000 (14:58 -0500)
committerSage Weil <sage@redhat.com>
Sat, 2 Dec 2017 03:27:02 +0000 (21:27 -0600)
commit9607a2db466835406d6fb73ad6776eccdf3a7d6c
tree33ddcb07d85f89ea5de3e44a9190de67945521aa
parentfd6a59ebf45a397e9530b9350ee46db99e70e5f8
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 <sage@redhat.com>
src/common/options.cc
src/mon/MgrStatMonitor.h
src/mon/OSDMonitor.cc
src/mon/OSDMonitor.h