]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mon/OSDMonitor: prune full maps on encode_pending
authorJoao Eduardo Luis <joao@suse.de>
Tue, 10 Oct 2017 19:17:11 +0000 (20:17 +0100)
committerJoao Eduardo Luis <joao@suse.de>
Fri, 6 Apr 2018 03:18:22 +0000 (04:18 +0100)
commitbc5df2b4497104c2a8747daf0530bb5184f9fecb
treec36b5a5d57b391ff5d866157cb69b237630740c7
parent06f3ab684f5b23e868b23b4c048e15bc4d44b80b
mon/OSDMonitor: prune full maps on encode_pending

If we have gone over a safety threshold for number of versions, start
pruning full osdmaps, poking holes in the sequence. To make up for the
missing maps, we will rebuild full maps based on the incremental maps
and the closest pinned full map we have available.

Signed-off-by: Joao Eduardo Luis <joao@suse.de>
src/common/options.cc
src/mon/Monitor.cc
src/mon/OSDMonitor.cc
src/mon/OSDMonitor.h
src/mon/PaxosService.h
src/mon/mon_types.h
src/test/cli/monmaptool/feature-set-unset-list.t