You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Sammi Chen (Jira)" <ji...@apache.org> on 2026/02/24 07:59:00 UTC
[jira] [Created] (HDDS-14701) Consolidate DiskBalancerVolumeChoosingPolicy and ContainerChoosingPolicy
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: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org