]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mon: compact full epochs also 7446/head
authorKefu Chai <kchai@redhat.com>
Thu, 28 Jan 2016 10:09:53 +0000 (02:09 -0800)
committerSage Weil <sage@redhat.com>
Sat, 30 Jan 2016 13:57:00 +0000 (08:57 -0500)
commit91093041a86fda40de08a366b5118e5e3ae275f0
tree57e68d59386498df8403eeace59e515b6e32e17e
parent951339103d35bc8ee2de880f77aada40d15b592a
mon: compact full epochs also

by compacting the ${prefix}.${start}..${prefix}..${end} does not
necessary compact the range of ${prefix}."full_"${start}..
${prefix}."full_"${end}. so when more and more epochs get trimmed
with out a full range compaction, the size of monitor store could
be very large.

Fixes: #14537
Signed-off-by: Kefu Chai <kchai@redhat.com>
(cherry picked from commit 93d633a25ad8c36c972bb766c38187e2612041e1)
src/mon/PaxosService.cc