]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mon: Modifying trim logic to change paxos_service_trim_max dynamically 40699/head
authorAishwarya Mathuria <amathuri@redhat.com>
Fri, 12 Mar 2021 11:27:40 +0000 (16:57 +0530)
committerNathan Cutler <ncutler@suse.com>
Thu, 8 Apr 2021 16:51:54 +0000 (18:51 +0200)
commita7b4ccba9145012265874983559af676413fd0d2
treeb782ebb94629f17711fa4dea756280942bd6042a
parent544fa769733931f5e4d0a13f8b62d0e6ea8d28a6
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)

Conflicts:
doc/rados/configuration/mon-config-ref.rst
- trivial resolution
doc/rados/configuration/mon-config-ref.rst
src/common/options.cc
src/mon/PaxosService.cc