ozone
ozone copied to clipboard
HDDS-14186. [DiskBalancer] Don't pick size 0 container when choosing container to move
What changes were proposed in this pull request?
Avoid moving size 0 container when choosing container to move since size-0 containers don't use disk space, so moving them doesn't change utilization.
What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-14186
How was this patch tested?
Added new test in TestDefaultContainerChoosingPolicy.