]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mon: Modifying trim logic to change paxos_service_trim_max dynamically 40168/head
authorAishwarya Mathuria <amathuri@redhat.com>
Fri, 12 Mar 2021 11:27:40 +0000 (16:57 +0530)
committerAishwarya Mathuria <amathuri@redhat.com>
Mon, 29 Mar 2021 18:43:37 +0000 (00:13 +0530)
commit2e1141e43980a0a44b18159860ebf9cc38316435
tree3b60fdab1153c2bca54960313f29ac99fe0671ff
parent45c59f2f0d0d90beb9163804e86139c551cf505b
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>
doc/rados/configuration/mon-config-ref.rst
src/common/options.cc
src/mon/PaxosService.cc