Mike Percy has submitted this change and it was merged. ( http://gerrit.cloudera.org:8080/8889 )
Change subject: [consensus] add unsafe gflag to bypass "safe to evict" logic ...................................................................... [consensus] add unsafe gflag to bypass "safe to evict" logic Replica replacement: added an option to attempt Raft configuration update even in absence of healthy majority of tablet replicas. This option is for testing purposes: as we could see during latest load testing, an attempt to change the configuration under such unusual circumstances allowed for exposing some bugs. In run-time, the option is controlled by the newly introduced flag --raft_attempt_to_replace_replica_without_majority. It affects both 3-4-3 and 3-2-3 replica replacement schemes. Change-Id: I4f89b6c584296e3da5047475c5c86c4cb1118ad0 Reviewed-on: http://gerrit.cloudera.org:8080/8889 Tested-by: Alexey Serbin <[email protected]> Reviewed-by: Mike Percy <[email protected]> --- M src/kudu/consensus/consensus_queue.cc M src/kudu/consensus/quorum_util-test.cc M src/kudu/consensus/quorum_util.cc M src/kudu/consensus/quorum_util.h M src/kudu/consensus/raft_consensus.cc M src/kudu/integration-tests/raft_consensus-itest.cc M src/kudu/master/catalog_manager.cc 7 files changed, 504 insertions(+), 373 deletions(-) Approvals: Alexey Serbin: Verified Mike Percy: Looks good to me, approved -- To view, visit http://gerrit.cloudera.org:8080/8889 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: kudu Gerrit-Branch: master Gerrit-MessageType: merged Gerrit-Change-Id: I4f89b6c584296e3da5047475c5c86c4cb1118ad0 Gerrit-Change-Number: 8889 Gerrit-PatchSet: 6 Gerrit-Owner: Alexey Serbin <[email protected]> Gerrit-Reviewer: Alexey Serbin <[email protected]> Gerrit-Reviewer: Mike Percy <[email protected]>
