NealSun96 opened a new pull request, #2189:
URL: https://github.com/apache/helix/pull/2189

   This is a WIP PR for creating the emergency rebalance pipeline. 
   
   Logic flow:
   Case 1: when a rebalance is triggered, and there's no illegal placement (no 
new resources, no node down):
   1. Emergency rebalance pipeline is triggered.
   2. Emergency rebalance triggers partial rebalance.
   3. Partial rebalance triggers asynchronous calculation. 
   4. Emergency rebalance returns the existing Best Possible assignment. 
   5. When partial rebalance is done, it persists the result into ZooKeeper, 
and triggers the pipeline again. 
   Case 2: when a rebalance is triggered, and there are illegal placements:
   1. Emergency rebalance pipeline is triggered.
   2. Emergency rebalance assigns all illegal placements correctly, and 
persists the result. 
   3. Emergency rebalance cancels existing partial rebalance thread, and 
triggers partial rebalance.
   4. When partial rebalance is done, it persists the result into ZooKeeper, 
and triggers the pipeline again. 


-- 
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.

To unsubscribe, e-mail: [email protected]

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