dasahcc opened a new issue #343: Fine-grained state transition throttling and 
respect MIN_ACTIVE replica 
URL: https://github.com/apache/helix/issues/343
 
 
   MIN_ACTIVE replica is only applied in DelayAutoRebalancer and not respected 
by throttling logic in Helix. Thus if preference list for partition is: Master, 
Slave, Slave and current state is Master, Slave, Offline. It will generate a 
state transition (ST) Offline -> Slave. Even if the MIN_ACTIVE replica number 
is 2, Helix will treat this Offline -> Slave to be Recovery rebalance. We 
should fix this.
   
   Also we need the logic to have more fine-grained state transition instead of 
marking all state transition of a partition to same state transition type. For 
example, the preference list is Master, Slave, Slave and current state is 
Slave, Slave, Offline. There will be two STs: Slave -> Master and Offline -> 
Slave. In current computation logic, they are all Recovery STs because this 
partition is marked as Recovery partition. With new logic, Slave -> Master is 
Recovery ST and Offline -> Slave will be Load rebalance when MIN_ACTIVE 
rebalance set to be 2.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to