Hello Tidy Bot, Alexey Serbin, Kudu Jenkins,

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

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

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

Change subject: KUDU-1097 (patch 3): Implement promotion of NON_VOTER replicas
......................................................................

KUDU-1097 (patch 3): Implement promotion of NON_VOTER replicas

This patch implements automatic leader-side promotion of NON_VOTER
replicas that have their "promote" attribute set. This occurs when the
NON_VOTER in question catches up to within a certain number of WAL
entries of the commit index, as tracked by the leader (the default is
100, controlled by --consensus_promotion_max_wal_entries_behind).

This patch also adds some infrastructure to support this functionality:

* New notification callback so the consensus queue can tell
  RaftConsensus when to promote a non-voter.
* Support for including RaftAttrPB attributes in CHANGE_REPLICA_TYPE.
* A simple non-voter promotion test.

More comprehensive end-to-end testing is needed before enabling this
feature by default.

Change-Id: Ife6f59658cb2f38d087d57c244ad811010a91fef
---
M src/kudu/consensus/consensus_queue.cc
M src/kudu/consensus/consensus_queue.h
M src/kudu/consensus/raft_consensus.cc
M src/kudu/consensus/raft_consensus.h
M src/kudu/integration-tests/cluster_itest_util.cc
M src/kudu/integration-tests/cluster_itest_util.h
M src/kudu/integration-tests/raft_config_change-itest.cc
M src/kudu/integration-tests/raft_consensus-itest.cc
8 files changed, 227 insertions(+), 5 deletions(-)


  git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/33/8633/3
--
To view, visit http://gerrit.cloudera.org:8080/8633
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: Ife6f59658cb2f38d087d57c244ad811010a91fef
Gerrit-Change-Number: 8633
Gerrit-PatchSet: 3
Gerrit-Owner: Mike Percy <mpe...@apache.org>
Gerrit-Reviewer: Alexey Serbin <aser...@cloudera.com>
Gerrit-Reviewer: Kudu Jenkins
Gerrit-Reviewer: Tidy Bot

Reply via email to