Hello Alexey Serbin, Kudu Jenkins,
I'd like you to reexamine a change. Please visit
http://gerrit.cloudera.org:8080/14783
to look at the new patch set (#2).
Change subject: KUDU-3008 Spread replicas evenly with 2 locations and odd
replica factors
......................................................................
KUDU-3008 Spread replicas evenly with 2 locations and odd replica factors
In case of distributing 3 replicas among 2 locations, 1 + 2 is better
than 3 + 0 because if all servers in the first location become unavailable,
in the former case the tablet is still available, while in the latter it's
not. Also, 1 + 2 is better than 0 + 3 because in case of catastrophic
non-recoverable failure of the second location, no replica survives and
all data is lost in the latter case, while in the former case there will
be 1 replica and it may be used for manual data recovery.
Change-Id: If96361f6be686679dd72f08e28d964eae25875d0
---
M src/kudu/master/placement_policy-test.cc
M src/kudu/master/placement_policy.cc
2 files changed, 46 insertions(+), 5 deletions(-)
git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/83/14783/2
--
To view, visit http://gerrit.cloudera.org:8080/14783
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: If96361f6be686679dd72f08e28d964eae25875d0
Gerrit-Change-Number: 14783
Gerrit-PatchSet: 2
Gerrit-Owner: ZhangYao <[email protected]>
Gerrit-Reviewer: Alexey Serbin <[email protected]>
Gerrit-Reviewer: Kudu Jenkins (120)