Alexey Serbin has submitted this change and it was merged. ( http://gerrit.cloudera.org:8080/9625 )
Change subject: [consensus] FAILED_UNRECOVERABLE replica health status ...................................................................... [consensus] FAILED_UNRECOVERABLE replica health status Added HealthStatus::FAILED_UNRECOVERABLE for a tablet replica. This is to mark replicas which are not able to catch up with the leader due to GC-collected segments of WAL and other unrecoverable cases. With the introduction of the FAILED_UNRECOVERABLE health status, the replica management scheme becomes hybrid: the system evicts replicas with FAILED_UNRECOVERABLE health status before adding a replacement if it anticipates that it can commit the transaction. This patch is a part of the fix to address KUDU-2342. It also addresses KUDU-2322 as well: evicting voter replicas more aggressively if they fall behind log segment GC threshold. Change-Id: I35637c5bda6681b732dbc2bbf94b9d4258b12095 Reviewed-on: http://gerrit.cloudera.org:8080/9625 Tested-by: Alexey Serbin <[email protected]> Reviewed-by: Mike Percy <[email protected]> --- M src/kudu/consensus/consensus_queue.cc M src/kudu/consensus/metadata.proto M src/kudu/consensus/quorum_util-test.cc M src/kudu/consensus/quorum_util.cc M src/kudu/integration-tests/raft_consensus_nonvoter-itest.cc M src/kudu/integration-tests/ts_tablet_manager-itest.cc 6 files changed, 455 insertions(+), 164 deletions(-) Approvals: Alexey Serbin: Verified Mike Percy: Looks good to me, approved -- To view, visit http://gerrit.cloudera.org:8080/9625 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: kudu Gerrit-Branch: master Gerrit-MessageType: merged Gerrit-Change-Id: I35637c5bda6681b732dbc2bbf94b9d4258b12095 Gerrit-Change-Number: 9625 Gerrit-PatchSet: 9 Gerrit-Owner: Alexey Serbin <[email protected]> Gerrit-Reviewer: Alexey Serbin <[email protected]> Gerrit-Reviewer: David Ribeiro Alves <[email protected]> Gerrit-Reviewer: Mike Percy <[email protected]> Gerrit-Reviewer: Tidy Bot Gerrit-Reviewer: Todd Lipcon <[email protected]>
