Sammi Chen created HDDS-14701:
---------------------------------
Summary: Consolidate DiskBalancerVolumeChoosingPolicy and
ContainerChoosingPolicy
Key: HDDS-14701
URL: https://issues.apache.org/jira/browse/HDDS-14701
Project: Apache Ozone
Issue Type: Sub-task
Reporter: Sammi Chen
Assignee: Gargi Jaiswal
We have DiskBalancerVolumeChoosingPolicy#chooseVolume to choose a pair of
{sourceVol, destVol}, and then have ContainerChoosingPolicy#chooseContainer to
pick one container from sourceVol to destVol. In each function, overall ideal
utilization and specific disk utilization are calculated individually to serve
the logic.
Consolidate two functions into one(chooseContainer) will avoid some
recalculation.
And 5GB is used as the container size when choosing destVolume, while a
specific container is picked, it's better for us to adjust destVolume's with
container's real size, which could be larger than 5G, or less than 5G.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]