-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/36662/
-----------------------------------------------------------
(Updated July 27, 2015, 7:16 p.m.)
Review request for geode, Lynn Hughes-Godfrey and Dan Smith.
Changes
-------
GEODE-124: Add logic to compute getTotalSize
getTotalSize collects current size of a partitioned region on all members.
The
sum of these sizes is used to check if rebalance is needed.
GEODE-124: Address review comments
* Fix spelling mistakes
* Add more details in logs
Repository: geode
Description
-------
Spec: https://cwiki.apache.org/confluence/display/GEODE/Automated+Rebalancing
* Create a sub-project for auto-rebalancer
* Commit quartz based scheduler to parse and interpret cron strings
* Add a new DistributedLockService and Object for AutoBalancer
* Create stat for auto-rebalance-attempts in ResourceStats
What package name should be used for new classes. I have added a new class
AutoBalancer? If we will be updating package name to org.apache in future, then
I can leave it as com.gemstone for now. All packages will be updated at the
same time. Alternatively, all new code could start using a new package.
Diffs (updated)
-----
gemfire-core/src/main/java/com/gemstone/gemfire/internal/cache/control/ResourceManagerStats.java
79a3c96
gemfire-rebalancer/build.gradle PRE-CREATION
gemfire-rebalancer/src/main/java/com/gemstone/gemfire/cache/util/AutoBalancer.java
PRE-CREATION
gemfire-rebalancer/src/test/java/com/gemstone/gemfire/cache/util/AutoBalancerJUnitTest.java
PRE-CREATION
settings.gradle 7f6ed61
Diff: https://reviews.apache.org/r/36662/diff/
Testing
-------
Thanks,
Ashvin A