You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@kudu.apache.org by "Alexey Serbin (Code Review)" <ge...@cloudera.org> on 2017/12/06 07:53:22 UTC

[kudu-CR] [quorum util] update criteria for voter replica eviction

Alexey Serbin has uploaded this change for review. ( http://gerrit.cloudera.org:8080/8776


Change subject: [quorum_util] update criteria for voter replica eviction
......................................................................

[quorum_util] update criteria for voter replica eviction

Updated the voter replica eviction criteria to address a scenario
where newly added non-voter replicas fail just after promotion
one after another before the original failed voter replica is evicted.
This is to make sure the replacement process does not end up with
placing failed voter replicas at every available tablet server,
deadlocking the replacement process.

Added corresponding unit tests to cover the updated behavior of the
consensus::CanEvictReplica() utility function.

Change-Id: Ibccc6e48554f7d62d4c70d092c8e992219129330
---
M src/kudu/consensus/quorum_util-test.cc
M src/kudu/consensus/quorum_util.cc
2 files changed, 48 insertions(+), 13 deletions(-)



  git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/76/8776/1
-- 
To view, visit http://gerrit.cloudera.org:8080/8776
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ibccc6e48554f7d62d4c70d092c8e992219129330
Gerrit-Change-Number: 8776
Gerrit-PatchSet: 1
Gerrit-Owner: Alexey Serbin <as...@cloudera.com>

[kudu-CR] [quorum util] update criteria for voter replica eviction

Posted by "Alexey Serbin (Code Review)" <ge...@cloudera.org>.
Alexey Serbin has abandoned this change. ( http://gerrit.cloudera.org:8080/8776 )

Change subject: [quorum_util] update criteria for voter replica eviction
......................................................................


Abandoned

Now this is a part of: https://gerrit.cloudera.org/#/c/8679/
-- 
To view, visit http://gerrit.cloudera.org:8080/8776
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: abandon
Gerrit-Change-Id: Ibccc6e48554f7d62d4c70d092c8e992219129330
Gerrit-Change-Number: 8776
Gerrit-PatchSet: 1
Gerrit-Owner: Alexey Serbin <as...@cloudera.com>
Gerrit-Reviewer: Kudu Jenkins
Gerrit-Reviewer: Mike Percy <mp...@apache.org>