Hello Tidy Bot, Alexey Serbin, Kudu Jenkins,
I'd like you to reexamine a change. Please visit
http://gerrit.cloudera.org:8080/14177
to look at the new patch set (#3).
Change subject: WIP KUDU-2780: create thread for auto-rebalancing
......................................................................
WIP KUDU-2780: create thread for auto-rebalancing
Created auto-rebalancer thread in background tasks of catalog manager.
Set up framework for auto-rebalancing loop.
Loop retrieves information on tservers, tables, and tablets for rebalancing.
The number of replica moves per loop iteration is controlled by a flag.
If there are placement policy violations, the current loop iteration will only
perform replica moves to reinstate the policy.
Otherwise, the auto-rebalancer will perform moves to do
inter-location(cross-location),
then intra-location(by table then by tserver) rebalancing.
If the cluster is balanced, the current rebalancing cycle completes, and the
thread will sleep for an interval, controlled by another flag.
Change-Id: Ifca25d1063c07047cf2123e6792b3c7395be20e4
TODO: write tests.
---
M src/kudu/master/CMakeLists.txt
A src/kudu/master/auto_rebalancer-test.cc
A src/kudu/master/auto_rebalancer.cc
A src/kudu/master/auto_rebalancer.h
M src/kudu/master/catalog_manager.cc
M src/kudu/master/catalog_manager.h
M src/kudu/master/ts_descriptor.cc
M src/kudu/master/ts_descriptor.h
M src/kudu/rebalance/rebalancer.cc
M src/kudu/rebalance/rebalancer.h
M src/kudu/tools/rebalancer_tool.cc
11 files changed, 1,297 insertions(+), 53 deletions(-)
git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/77/14177/3
--
To view, visit http://gerrit.cloudera.org:8080/14177
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: Ifca25d1063c07047cf2123e6792b3c7395be20e4
Gerrit-Change-Number: 14177
Gerrit-PatchSet: 3
Gerrit-Owner: Hannah Nguyen <[email protected]>
Gerrit-Reviewer: Alexey Serbin <[email protected]>
Gerrit-Reviewer: Hannah Nguyen <[email protected]>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Reviewer: Tidy Bot (241)