Gargi-jais11 opened a new pull request, #9858:
URL: https://github.com/apache/ozone/pull/9858

   ## What changes were proposed in this pull request?
   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 say, 
`DefaultVolumeContainerChoosingPolicy` will avoid some recalculation.
   
   Another issue is that **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.
   
   ## What is the link to the Apache JIRA
   
   https://issues.apache.org/jira/browse/HDDS-14701
   
   ## How was this patch tested?
   
   Updated the existing test files to work according to the new logic.


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