Alexey Serbin has uploaded this change for review. ( 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 --- M src/kudu/consensus/quorum_util-test.cc M src/kudu/consensus/quorum_util.cc 2 files changed, 67 insertions(+), 20 deletions(-) git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/63/8863/1 -- 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: newchange Gerrit-Change-Id: Ida198b96e76102f82d0b32116c45e41d26d15314 Gerrit-Change-Number: 8863 Gerrit-PatchSet: 1 Gerrit-Owner: Alexey Serbin <[email protected]>
