sodonnel commented on PR #10109:
URL: https://github.com/apache/ozone/pull/10109#issuecomment-4345133119

   Looking at the containerSet class, the `updateContainer()` method was added 
only for Diskbalancer and is only called by disk balancer. The only other place 
items are added to the `containerMap` is in the `addContainer()` method, so it 
seems like this could all be solved by updating the `Container` object fields 
rather than creating a new instance and replacing it. It doesn't appear to be 
an immutable object so this would be a much smaller fix and **I think** will 
solve all the issues?


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