Hello Kudu Jenkins, Andrew Wong, Adar Dembo, Volodymyr Verovkin,

I'd like you to reexamine a change. Please visit

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

to look at the new patch set (#4).

Change subject: [consensus] KUDU-2947 fix voting in case of slow WAL
......................................................................

[consensus] KUDU-2947 fix voting in case of slow WAL

Before this patch, a follower replica may grant 'yes' vote right after
processing recent Raft transactions even if currently established leader
is alive and well in cases when persisting a Raft transaction in WAL
takes longer than the leader election timeout.

That might lead to multiple successive election rounds even if there
were no actual reason to re-elect leader replicas.

This patch also adds a test to verify the behavior of follower tablet
replicas under the conditions described above.  The test was failing
before the patch and now it's now passing.

This is a follow-up to 4870ef20b9a0c729c1d7f16c016c7d91b193e46f.

Change-Id: I7c061b498e727a1a11e94e03c55530eeebfdf8dd
---
M src/kudu/consensus/raft_consensus.cc
M src/kudu/consensus/raft_consensus.h
M src/kudu/integration-tests/raft_consensus_election-itest.cc
3 files changed, 188 insertions(+), 4 deletions(-)


  git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/60/14260/4
--
To view, visit http://gerrit.cloudera.org:8080/14260
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I7c061b498e727a1a11e94e03c55530eeebfdf8dd
Gerrit-Change-Number: 14260
Gerrit-PatchSet: 4
Gerrit-Owner: Alexey Serbin <[email protected]>
Gerrit-Reviewer: Adar Dembo <[email protected]>
Gerrit-Reviewer: Alexey Serbin <[email protected]>
Gerrit-Reviewer: Andrew Wong <[email protected]>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Reviewer: Volodymyr Verovkin <[email protected]>

Reply via email to