summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSage Weil <sage@inktank.com>2013-07-03 16:56:06 -0700
committerSage Weil <sage@inktank.com>2013-07-03 16:57:53 -0700
commit123f676e3ae8154ca94cb076c4c4ec5389d2a643 (patch)
tree81e1f31bfb8e223006b3a95565e8206c67f03287
parent03393c0df9f54e4f1db60e1058ca5a7cd89f44e6 (diff)
downloadceph-123f676e3ae8154ca94cb076c4c4ec5389d2a643.tar.gz
mon/Paxos: make 'paxos trim disabled max versions' much much larger
108000 is about 3 hours if paxos is going full-bore (1 proposal/second). That ought to be pretty safe. Otherwise, we start trimming to soon and a slow sync will just have to restart when it finishes. Backport: cuttlefish Signed-off-by: Sage Weil <sage@inktank.com> Reviewed-by: Joao Eduardo Luis <joao.luis@inktank.com> (cherry picked from commit 71ebfe7e1abe4795b46cf00dfe1b03d1893368b0) Conflicts: src/common/config_opts.h
-rw-r--r--src/common/config_opts.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/config_opts.h b/src/common/config_opts.h
index e97a055f6ce..2b369ecf9ee 100644
--- a/src/common/config_opts.h
+++ b/src/common/config_opts.h
@@ -203,7 +203,7 @@ OPTION(paxos_propose_interval, OPT_DOUBLE, 1.0) // gather updates for this long
OPTION(paxos_min_wait, OPT_DOUBLE, 0.05) // min time to gather updates for after period of inactivity
OPTION(paxos_trim_min, OPT_INT, 500) // number of extra proposals tolerated before trimming
OPTION(paxos_trim_max, OPT_INT, 1000) // max number of extra proposals to trim at a time
-OPTION(paxos_trim_disabled_max_versions, OPT_INT, 100) // maximum amount of versions we shall allow passing by without trimming
+OPTION(paxos_trim_disabled_max_versions, OPT_INT, 108000) // maximum amount of versions we shall allow passing by without trimming
OPTION(paxos_service_trim_min, OPT_INT, 500) // minimum amount of versions to trigger a trim (0 disables it)
OPTION(paxos_service_trim_max, OPT_INT, 1000) // maximum amount of versions to trim during a single proposal (0 disables it)
OPTION(clock_offset, OPT_DOUBLE, 0) // how much to offset the system clock in Clock.cc