From: Joao Eduardo Luis Date: Tue, 10 Oct 2017 19:17:11 +0000 (+0100) Subject: mon/OSDMonitor: prune full maps on encode_pending X-Git-Tag: v13.1.0~393^2~9 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=bc5df2b4497104c2a8747daf0530bb5184f9fecb;p=ceph.git 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 --- diff --git a/src/common/options.cc b/src/common/options.cc index 1951fad63829..c9ddfa9c7121 100644 --- a/src/common/options.cc +++ b/src/common/options.cc @@ -1124,6 +1124,36 @@ std::vector