Will Berkeley has uploaded a new change for review. http://gerrit.cloudera.org:8080/7143
Change subject: Use the same replica selection when adding a server as table creation ...................................................................... Use the same replica selection when adding a server as table creation When selecting TS to host replicas at table creation time, the master uses a selection algorithm that (roughly) picks the less loaded of two randomly chosen TS that haven't already been picked to hold a replica. When adding a replica, for instance after an eviction, it just picks a tserver at random from those not already holding a replica. Let's use the same algorithm for both, since the table creation algorithm has the benefit that it tends to fill less-loaded tablet servers, like ones newly added to the cluster. Change-Id: I199e7a59c2c7832e7a87842b357ba3aa29e34685 --- M src/kudu/master/catalog_manager.cc M src/kudu/master/catalog_manager.h 2 files changed, 103 insertions(+), 121 deletions(-) git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/43/7143/1 -- To view, visit http://gerrit.cloudera.org:8080/7143 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I199e7a59c2c7832e7a87842b357ba3aa29e34685 Gerrit-PatchSet: 1 Gerrit-Project: kudu Gerrit-Branch: master Gerrit-Owner: Will Berkeley <[email protected]>
