Hello Tidy Bot, Kudu Jenkins, Adar Dembo,

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

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

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

Change subject: [tests] address flakiness in raft_consensus_election-itest
......................................................................

[tests] address flakiness in raft_consensus_election-itest

Few test scenarios of the raft_consensus_election-itest suite
involving churny elections were showing flakiness when run in slow
mode with --stress_cpu_threads=16.  The common root of the problem
was failing writer test thread due to timeout.

This patch addresses the issue, increasing Raft heartbeat interval
from 1 to 2 milliseconds.  With this change, the above mentioned
tests become more stable, no longer failing due to the timeout error.
I ran the raft_consensus_election-itest built in DEBUG mode multiple
1K batches to confirm that.

Even with this patch, the above mentioned test scenarios sometimes fail
due to the DCHECK_GE assert in PeerMessageQueue::CheckMonotonicTerms().
The latter issues will be addressed separately.

Change-Id: If6f54643c9c066b31a74e1082260225e60324e4e
---
M src/kudu/consensus/consensus_queue.cc
M src/kudu/consensus/consensus_queue.h
M src/kudu/integration-tests/raft_consensus_election-itest.cc
3 files changed, 19 insertions(+), 20 deletions(-)


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

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: If6f54643c9c066b31a74e1082260225e60324e4e
Gerrit-Change-Number: 14953
Gerrit-PatchSet: 4
Gerrit-Owner: Alexey Serbin <[email protected]>
Gerrit-Reviewer: Adar Dembo <[email protected]>
Gerrit-Reviewer: Alexey Serbin <[email protected]>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Reviewer: Tidy Bot (241)

Reply via email to