Bankim Bhavsar has uploaded this change for review. ( http://gerrit.cloudera.org:8080/16899
Change subject: [consensus] Allow sending status-only request messages to FAILED peer ...................................................................... [consensus] Allow sending status-only request messages to FAILED peer This change adds the ability for a leader to send status-only messages to a peer even if it's in FAILED_UNRECOVERABLE state. This ability is turned off by default and controlled via a PeerMessageQueue parameter. Without this change when the system catalog is copied externally the new master remains in FAILED_UNRECOVERABLE state and doesn't get promoted to being a VOTER despite the system catalog being up to date. The procedure for end-to-end testing that hooks up masters to use this Raft config is a separate change. Change-Id: I229cc739c1b5ec7b11ce05d5e6b1b8e9d654d6f7 --- M src/kudu/consensus/consensus_queue-test.cc 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 5 files changed, 99 insertions(+), 11 deletions(-) git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/99/16899/1 -- To view, visit http://gerrit.cloudera.org:8080/16899 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: kudu Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: I229cc739c1b5ec7b11ce05d5e6b1b8e9d654d6f7 Gerrit-Change-Number: 16899 Gerrit-PatchSet: 1 Gerrit-Owner: Bankim Bhavsar <[email protected]>
