jiajunwang opened a new issue #1097:
URL: https://github.com/apache/helix/issues/1097


   A regression was introduced by PR #986.
   
   The PR tried to prioritize the preference list to avoid unnecessary top 
state transitions. However, there was a bug in the prioritizing logic and if 
one participant is skipped due to low priority, it won't be picked up again 
during the calculating. As a result, this participant won't be assigned with 
any replica even it is originally in the preference list.
   
   This only happens if the state model has been customized so it is multiple 
top states and there is an intermediate state with expected count -1 between 
the top state and the other state.


----------------------------------------------------------------
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:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to