Hello Adar Dembo, Todd Lipcon,

I'd like you to do a code review.  Please visit

    http://gerrit.cloudera.org:8080/3828

to review the following change.

Change subject: make election timeout jitter more aggressive
......................................................................

make election timeout jitter more aggressive

Existing election timeouts have very low variance, and is capped at a maximum
value. Having a variance cap is problematic because it could cause Raft to not
make progress when the RTT between nodes is greater than the cap.
Counter-intuitively, having a low variance in timeouts causes elections to take
longer since it leads to more frequent election retries. This commit removes the
cap and increases the variance.

Change-Id: I2c9dad820c2b7d4bc4b9e791b78222559cdf63c8
---
M src/kudu/consensus/raft_consensus.cc
1 file changed, 2 insertions(+), 10 deletions(-)


  git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/28/3828/1
-- 
To view, visit http://gerrit.cloudera.org:8080/3828
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I2c9dad820c2b7d4bc4b9e791b78222559cdf63c8
Gerrit-PatchSet: 1
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-Owner: Dan Burkert <d...@cloudera.com>
Gerrit-Reviewer: Adar Dembo <a...@cloudera.com>
Gerrit-Reviewer: Todd Lipcon <t...@apache.org>

Reply via email to