leixm commented on PR #2819:
URL: https://github.com/apache/celeborn/pull/2819#issuecomment-4234239823

   > @RexXiong @leixm What is the reason for moving 
`updateWorkerResourceConsumptions` out? That seems functionally incorrect, now 
only leader will have updated resource consumption and incase of leader change 
new master will not have updated values? Correct me if i am wrong about this.
   
   Because replicating resourceConsumption information between master processes 
would be too computationally expensive, the current approach is to have only 
the leader master update resourceConsumption. If leader changed, the new master 
will update the resourceConsumption.


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

Reply via email to