]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mon/OSDMonitor: txsize should be greater or eq to prune_interval - 1 21430/head
authorKefu Chai <kchai@redhat.com>
Sat, 14 Apr 2018 00:58:53 +0000 (08:58 +0800)
committerKefu Chai <kchai@redhat.com>
Sun, 15 Apr 2018 13:41:03 +0000 (21:41 +0800)
commitf4fabb6d609d613f96ccc7de193451edf4777f7c
treebda1e2a1d86147bf10cb4c038e8cf7175ef48c70
parent5981f7bcb3588c068558408017bc4c43a730f802
mon/OSDMonitor: txsize should be greater or eq to prune_interval - 1

so we can prune 1 or more intervals in a single iteration. and in each
interval, we prune (prune_interval - 1) versions of osdmap.

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/mon/OSDMonitor.cc