Grant Henke has submitted this change and it was merged. ( http://gerrit.cloudera.org:8080/9649 )
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]> (cherry picked from commit a74f9a0dcaf88315c8563b95cdeb5701d9ce5438) Reviewed-on: http://gerrit.cloudera.org:8080/9649 Tested-by: Kudu Jenkins Reviewed-by: Grant Henke <[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: Kudu Jenkins: Verified Grant Henke: Looks good to me, approved -- To view, visit http://gerrit.cloudera.org:8080/9649 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: kudu Gerrit-Branch: branch-1.7.x Gerrit-MessageType: merged Gerrit-Change-Id: I35637c5bda6681b732dbc2bbf94b9d4258b12095 Gerrit-Change-Number: 9649 Gerrit-PatchSet: 2 Gerrit-Owner: Alexey Serbin <[email protected]> Gerrit-Reviewer: Grant Henke <[email protected]> Gerrit-Reviewer: Kudu Jenkins Gerrit-Reviewer: Mike Percy <[email protected]> Gerrit-Reviewer: Todd Lipcon <[email protected]>
