-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/13444/#review24939
-----------------------------------------------------------



helix-core/src/main/java/org/apache/helix/examples/IdealStateBuilderExample.java
<https://reviews.apache.org/r/13444/#comment49098>

    what about pluggable/user defined.



helix-core/src/main/java/org/apache/helix/manager/zk/ZKHelixAdmin.java
<https://reviews.apache.org/r/13444/#comment49099>

    can we rename this to RebalancerMode ?



helix-core/src/main/java/org/apache/helix/model/IdealState.java
<https://reviews.apache.org/r/13444/#comment49100>

    rename it to RebalanceMode
    



helix-core/src/main/java/org/apache/helix/model/IdealState.java
<https://reviews.apache.org/r/13444/#comment49101>

    rename to normalizeRebalancerMode or something like that. avoid having 
logic in get methods.
    
    same applies to getModeFromRebalancerMode
    
    dont we need a mode for pluggable/user defined


- Kishore Gopalakrishna


On Aug. 9, 2013, 5:24 p.m., Kanak Biscuitwala wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/13444/
> -----------------------------------------------------------
> 
> (Updated Aug. 9, 2013, 5:24 p.m.)
> 
> 
> Review request for helix, Zhen Zhang, Kishore Gopalakrishna, and Shi Lu.
> 
> 
> Bugs: HELIX-166
> 
> 
> Repository: helix-git
> 
> 
> Description
> -------
> 
> Fix for HELIX-166. The old names (AUTO_REBALANCE, AUTO, and CUSTOMIZED) were 
> unclear to people who use HELIX. Thus, this change more clearly conveys which 
> of the automatic modes actually does more. To maintain backward 
> compatibility, the strategy is to deserialize the new field if either the new 
> mode type or the new mode type is present, and to serialize both the new and 
> old mode types. This is a pretty large change, and even though I checked for 
> references and appearances of the old names, I may have missed something. 
> Definitely let me know if you notice one or more of the following:
> 
> 1. Any issues with backward compatibility
> 2. Naming convention issues
> 3. Other changes to more rigidly enforce the use of these new names, while 
> accepting the old ones from old components.
> 
> 
> Diffs
> -----
> 
>   
> helix-admin-webapp/src/main/java/org/apache/helix/webapp/resources/ResourceGroupsResource.java
>  dbbf0a1 
>   helix-core/src/main/java/org/apache/helix/HelixAdmin.java 5cd9a13 
>   
> helix-core/src/main/java/org/apache/helix/controller/stages/BestPossibleStateCalcStage.java
>  aca0e74 
>   
> helix-core/src/main/java/org/apache/helix/controller/strategy/AutoRebalanceStrategy.java
>  f013937 
>   
> helix-core/src/main/java/org/apache/helix/examples/IdealStateBuilderExample.java
>  c516d39 
>   helix-core/src/main/java/org/apache/helix/examples/IdealStateExample.java 
> f98199d 
>   helix-core/src/main/java/org/apache/helix/manager/zk/ZKHelixAdmin.java 
> 1a5609b 
>   helix-core/src/main/java/org/apache/helix/model/IdealState.java 800477d 
>   
> helix-core/src/main/java/org/apache/helix/model/builder/AutoModeISBuilder.java
>  d3e7120 
>   
> helix-core/src/main/java/org/apache/helix/model/builder/AutoRebalanceModeISBuilder.java
>  15638e3 
>   
> helix-core/src/main/java/org/apache/helix/model/builder/CustomModeISBuilder.java
>  e75b7ac 
>   
> helix-core/src/main/java/org/apache/helix/model/builder/IdealStateBuilder.java
>  2877c74 
>   
> helix-core/src/main/java/org/apache/helix/participant/HelixCustomCodeRunner.java
>  d92b92f 
>   helix-core/src/main/java/org/apache/helix/tools/ClusterSetup.java 4260e87 
>   helix-core/src/test/java/org/apache/helix/TestHelper.java 6516138 
>   helix-core/src/test/java/org/apache/helix/TestZnodeModify.java 35ab5f0 
>   helix-core/src/test/java/org/apache/helix/ZkUnitTestBase.java 14d8892 
>   
> helix-core/src/test/java/org/apache/helix/controller/stages/BaseStageTest.java
>  af98620 
>   
> helix-core/src/test/java/org/apache/helix/integration/TestAutoRebalance.java 
> ea860c7 
>   
> helix-core/src/test/java/org/apache/helix/integration/TestAutoRebalancePartitionLimit.java
>  f26a867 
>   helix-core/src/test/java/org/apache/helix/integration/TestDisable.java 
> f154007 
>   helix-core/src/test/java/org/apache/helix/integration/TestDriver.java 
> 74b3bdc 
>   
> helix-core/src/test/java/org/apache/helix/integration/TestInstanceAutoJoin.java
>  c9970e5 
>   
> helix-core/src/test/java/org/apache/helix/integration/TestInvalidAutoIdealState.java
>  f742a74 
>   
> helix-core/src/test/java/org/apache/helix/integration/TestStartMultipleControllersWithSameName.java
>  27e6bdb 
>   helix-core/src/test/java/org/apache/helix/integration/TestZkReconnect.java 
> 0c261e2 
>   helix-core/src/test/java/org/apache/helix/model/TestIdealState.java 89b02ad 
>   
> helix-core/src/test/java/org/apache/helix/model/builder/TestIdealStateBuilder.java
>  cdb7867 
>   recipes/distributed-lock-manager/README.md fdba382 
>   
> recipes/distributed-lock-manager/src/main/java/org/apache/helix/lockmanager/LockManagerDemo.java
>  11cfdaf 
>   
> recipes/rabbitmq-consumer-group/src/main/java/org/apache/helix/recipes/rabbitmq/SetupConsumerCluster.java
>  93aadb4 
>   
> recipes/rsync-replicated-file-system/src/main/java/org/apache/helix/filestore/SetupCluster.java
>  77cc2f9 
>   
> recipes/task-execution/src/main/java/org/apache/helix/taskexecution/TaskCluster.java
>  c49659e 
> 
> Diff: https://reviews.apache.org/r/13444/diff/
> 
> 
> Testing
> -------
> 
> All tests pass locally.
> 
> 
> Thanks,
> 
> Kanak Biscuitwala
> 
>

Reply via email to