Bankim Bhavsar has submitted this change and it was merged. ( 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 Reviewed-on: http://gerrit.cloudera.org:8080/16899 Tested-by: Kudu Jenkins Reviewed-by: Andrew Wong <[email protected]> --- 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, 92 insertions(+), 10 deletions(-) Approvals: Kudu Jenkins: Verified Andrew Wong: Looks good to me, approved -- 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: merged Gerrit-Change-Id: I229cc739c1b5ec7b11ce05d5e6b1b8e9d654d6f7 Gerrit-Change-Number: 16899 Gerrit-PatchSet: 3 Gerrit-Owner: Bankim Bhavsar <[email protected]> Gerrit-Reviewer: Andrew Wong <[email protected]> Gerrit-Reviewer: Bankim Bhavsar <[email protected]> Gerrit-Reviewer: Kudu Jenkins (120)
