Hello David Ribeiro Alves,

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

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

to review the following change.

Change subject: RaftConsensus: Trigger election at startup if single node
......................................................................

RaftConsensus: Trigger election at startup if single node

If a tablet's replication factor is 1 then don't wait for the failure
detector to kick in. Simply kick off an election immediately.

Added a test that disables the failure detector and waits for a single
node to become leader anyway.

Change-Id: Ief51ab20c051db83bea51c146b24a11036d9f953
---
M src/kudu/consensus/raft_consensus.cc
M src/kudu/integration-tests/raft_consensus-itest.cc
2 files changed, 27 insertions(+), 2 deletions(-)


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ief51ab20c051db83bea51c146b24a11036d9f953
Gerrit-PatchSet: 1
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-Owner: Mike Percy <mpe...@apache.org>
Gerrit-Reviewer: David Ribeiro Alves <david.al...@cloudera.com>

Reply via email to