Alexey Serbin has submitted this change and it was merged. ( http://gerrit.cloudera.org:8080/14783 )
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 Reviewed-on: http://gerrit.cloudera.org:8080/14783 Tested-by: Kudu Jenkins Reviewed-by: Alexey Serbin <[email protected]> --- M src/kudu/master/placement_policy-test.cc M src/kudu/master/placement_policy.cc 2 files changed, 46 insertions(+), 5 deletions(-) Approvals: Kudu Jenkins: Verified Alexey Serbin: Looks good to me, approved -- 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: merged Gerrit-Change-Id: If96361f6be686679dd72f08e28d964eae25875d0 Gerrit-Change-Number: 14783 Gerrit-PatchSet: 3 Gerrit-Owner: ZhangYao <[email protected]> Gerrit-Reviewer: Alexey Serbin <[email protected]> Gerrit-Reviewer: Kudu Jenkins (120) Gerrit-Reviewer: ZhangYao <[email protected]>
