Mike Percy has submitted this change and it was merged. ( http://gerrit.cloudera.org:8080/8863 )
Change subject: KUDU-1097: try adding a new replica when majority is on-line ...................................................................... KUDU-1097: try adding a new replica when majority is on-line With this patch, the consensus::ShouldAddReplica() utility function checks whether a majority of voter replicas is on-line before attempting to add a new non-voter replica into the tablet Raft configuration. This makes it more consistent with the behavior of the 'symmetric' consensus::ShouldEvictReplica() function. Change-Id: Ida198b96e76102f82d0b32116c45e41d26d15314 Reviewed-on: http://gerrit.cloudera.org:8080/8863 Tested-by: Kudu Jenkins Reviewed-by: Mike Percy <mpe...@apache.org> --- M src/kudu/consensus/quorum_util-test.cc M src/kudu/consensus/quorum_util.cc 2 files changed, 67 insertions(+), 20 deletions(-) Approvals: Kudu Jenkins: Verified Mike Percy: Looks good to me, approved -- To view, visit http://gerrit.cloudera.org:8080/8863 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: kudu Gerrit-Branch: master Gerrit-MessageType: merged Gerrit-Change-Id: Ida198b96e76102f82d0b32116c45e41d26d15314 Gerrit-Change-Number: 8863 Gerrit-PatchSet: 4 Gerrit-Owner: Alexey Serbin <aser...@cloudera.com> Gerrit-Reviewer: Alexey Serbin <aser...@cloudera.com> Gerrit-Reviewer: Kudu Jenkins Gerrit-Reviewer: Mike Percy <mpe...@apache.org>