]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mon: Modifying trim logic to change paxos_service_trim_max dynamically 40691/head
authorAishwarya Mathuria <amathuri@redhat.com>
Fri, 12 Mar 2021 11:27:40 +0000 (16:57 +0530)
committersinguliere <singuliere@autistici.org>
Fri, 9 Apr 2021 05:34:11 +0000 (07:34 +0200)
commiteb6ac563d9503e4f9ccf8afad1cd250124b701cc
tree4b0e287790aa366c14d97075d32a2c1a97716063
parent7a1c4eb84d8a8a97870a662befa03048a85f5e21
mon: Modifying trim logic to change paxos_service_trim_max dynamically

 Currently, the Paxos Service trim logic is bounded by a max value (paxos_service_trim_max). This change dynamically modifies the max value when the number of logs to be trimmed is higher than paxos_service_trim_max.

 The paxos_service_trim_max_multiplier has been added in case we want to increase paxos_service_trim_max by a certain factor. If this option is enabled we get a new upper bound when trim sizes are high.

Fixes: https://tracker.ceph.com/issues/50004
Signed-off-by: Aishwarya Mathuria <amathuri@redhat.com>
(cherry picked from commit 2e1141e43980a0a44b18159860ebf9cc38316435)
doc/rados/configuration/mon-config-ref.rst
src/common/options.cc
src/mon/PaxosService.cc