Jackie-Jiang opened a new pull request #7574:
URL: https://github.com/apache/pinot/pull/7574


   When TableRebalancer rebalances a table without downtime, it goes over 
multiple steps to reach the target assignment. In order to keep the available 
replicas, the algorithm picks the first instance in alphabetical order to move 
the segment. This can cause the instances with smaller name to be overloaded 
during the intermediate assignments.
   This PR enhances the algorithm to track the number of segments to be 
offloaded for each instance between the current assignment and the target 
assignment, and always offload the segment from the instances with most 
segments to be offloaded. With the enhancement, it is guaranteed that during 
the rebalance, no segment will be moved to the instances to be offloaded.


-- 
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: commits-unsubscr...@pinot.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org
For additional commands, e-mail: commits-h...@pinot.apache.org

Reply via email to