Samunroyu opened a new pull request, #1951:
URL: https://github.com/apache/incubator-pegasus/pull/1951

   ### What problem does this PR solve? <!--add issue link with summary if 
exists-->
   After scaling out, Pegasus determines whether the shards are balanced by 
checking if the balance operation counts are equal to 0. However, since the 
meta server returns counts = 0 when it cannot collect all shards information, 
this leads to the premature termination of balancing. Therefore, in such cases, 
the counts should be equal to -1
   
   
   ### What is changed and how does it work?
   A new bool variable  introduce into class greedy_load_balancer to control 
balance operation count whether be -1.
   ```
   _all_replica_info
   ```
   
   


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