Hello Kudu Jenkins,
I'd like you to reexamine a change. Please visit
http://gerrit.cloudera.org:8080/24683
to look at the new patch set (#2).
Change subject: KUDU-3761 prefer follower moves cross-location
......................................................................
KUDU-3761 prefer follower moves cross-location
LocationBalancingAlgo had no follower awareness: it picked the
first equally most-loaded source in its internal order. Moving a
leader triggers a leadership transfer that can disrupt clients.
Apply the same two-candidate pattern TwoDimensionalGreedyAlgo
uses: among sources tied on load, prefer one that hosts a
non-leader replica of the target table+tag, falling back to any
tied source when none qualifies.
Extend --prefer_follower_replica_moves and
--auto_rebalancing_prefer_follower_replica_moves to cover the
cross-location path too.
Change-Id: I8a162a227071caf37d572ba60c2bc49608d14e65
---
M src/kudu/master/auto_rebalancer.cc
M src/kudu/rebalance/rebalance_algo-test.cc
M src/kudu/rebalance/rebalance_algo.cc
M src/kudu/rebalance/rebalance_algo.h
M src/kudu/tools/rebalancer_tool.cc
5 files changed, 160 insertions(+), 8 deletions(-)
git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/83/24683/2
--
To view, visit http://gerrit.cloudera.org:8080/24683
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I8a162a227071caf37d572ba60c2bc49608d14e65
Gerrit-Change-Number: 24683
Gerrit-PatchSet: 2
Gerrit-Owner: Gabriella Lotz <[email protected]>
Gerrit-Reviewer: Kudu Jenkins (120)