Alexey Serbin has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/8477


Change subject: [tests] fix flake in RaftConsensusNonVoterITest
......................................................................

[tests] fix flake in RaftConsensusNonVoterITest

Fixed flakiness in the RaftConsensusNonVoterITest::PromoteAndDemote
scenario.  The problematic scenario was when the tablet leader had
been paused before the tablet copy completed.  That resulted in the
absence of majority among the tablet replicas, so no leader can be
elected, while the log was flooded with messages like below:

  Couldn't send request to peer 95f63392a59643d3b15bfbb97662d24e for \
    tablet bb1c77bc65544659bfa24d852e2fc728. \
    Error code: TABLET_NOT_RUNNING (12). \
    Status: Illegal state: Tablet not RUNNING: INITIALIZED. \
    Retrying in the next heartbeat period. Already tried 1210 times.

Change-Id: I177e45cdfc883b6cec074877fea034374b00c677
---
M src/kudu/integration-tests/raft_consensus_nonvoter-itest.cc
1 file changed, 6 insertions(+), 0 deletions(-)



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

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I177e45cdfc883b6cec074877fea034374b00c677
Gerrit-Change-Number: 8477
Gerrit-PatchSet: 1
Gerrit-Owner: Alexey Serbin <aser...@cloudera.com>

Reply via email to