summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSage Weil <sage@inktank.com>2013-07-04 14:55:34 -0700
committerSage Weil <sage@inktank.com>2013-07-04 17:09:14 -0700
commit6fbcbd7fddf35a5be4b38e536871903bff4f9bf1 (patch)
tree856d147ae9430563e85ce00b5cd15dde838a56c8
parentf3a51fa30e5ce1656853b40d831409f195f6e4ca (diff)
downloadceph-6fbcbd7fddf35a5be4b38e536871903bff4f9bf1.tar.gz
mon/Paxos: increase paxos max join drift
A value of 10 is too aggressive for large, long-running syncs. 100 is about 2 minutes of activity at most, which should be a more forgiving buffer. Signed-off-by: Sage Weil <sage@inktank.com>
-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 ac0e8624497..f3dea33bf70 100644
--- a/src/common/config_opts.h
+++ b/src/common/config_opts.h
@@ -198,7 +198,7 @@ OPTION(mon_leveldb_compression, OPT_BOOL, false) // monitor's leveldb uses compr
OPTION(mon_leveldb_paranoid, OPT_BOOL, false) // monitor's leveldb paranoid flag
OPTION(mon_leveldb_log, OPT_STR, "")
OPTION(paxos_stash_full_interval, OPT_INT, 25) // how often (in commits) to stash a full copy of the PaxosService state
-OPTION(paxos_max_join_drift, OPT_INT, 10) // max paxos iterations before we must first sync the monitor stores
+OPTION(paxos_max_join_drift, OPT_INT, 100) // max paxos iterations before we must first sync the monitor stores
OPTION(paxos_propose_interval, OPT_DOUBLE, 1.0) // gather updates for this long before proposing a map update
OPTION(paxos_min_wait, OPT_DOUBLE, 0.05) // min time to gather updates for after period of inactivity
OPTION(paxos_min, OPT_INT, 500) // minimum number of paxos transactions to keep around