config: increase default election timeout to 1200 ms #893
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This is the value we have been using on EC2, OpenStack, and Rackspace.
Part of the reason why I have been able to trigger a bug in go-raft
seems to be the leader thrashing that is happening on my GCE test
clusters right now.
Mostly I am posting this to start a discussion on what the default
timeouts really should be, the current values are clearly not well
suited for virtual machines which is our primary target. The tuning
document describes determining values in terms of ping time but the ping
time between these GCE systems is under 1 ms.
So what should the values actually be? What should the tuning document
suggest as a metric for choosing more precise values?