]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mon: Modifying trim logic to change paxos_service_trim_max dynamically 41099/head
authorAishwarya Mathuria <amathuri@redhat.com>
Fri, 12 Mar 2021 11:27:40 +0000 (16:57 +0530)
committerAishwarya Mathuria <amathuri@redhat.com>
Fri, 30 Apr 2021 09:16:40 +0000 (14:46 +0530)
commit9a945e9b23e82674e1509f66d45c6c771ede2073
treec5340c90707c1703b4fed702afca8441bfa2815c
parent47127a9cb32b0399a10926b8b0875c794b4f5c23
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