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

   ## What changes were proposed in this pull request?
   This PR handles the below case to be fixed:
   ```
   one volume under threshold and no volumes beyond threshold
   
   Disk1, 30, 100
   Disk2, 30, 100
   Disk3, 20, 10080 / 300 = 26.7%
   
   Disk1: 30%
   Disk2: 30%
   Disk3: 20%
   Threshold: 10
   Disk utilization range (16.7, 36.7)
   Out range volume list: NULL
   
   Threshold: 5
   Disk utilization range (21.7, 31.7)
   Out range volume list: Disk3 
   ```
   
   ## What is the link to the Apache JIRA
   https://issues.apache.org/jira/browse/HDDS-14213
   
   ## How was this patch tested?
   
   Added a new unit Test `TestDefaultVolumeChoosingPolicy` which covers below 
test scenarios:
   
   - One Volume Beyond Threshold, No VolumesUnderThreshold
   - Volumes with two Above And one BelowThreshold
   - All Volumes Within Threshold
   - One Volume Under Threshold No Volumes Above
   - Extreme Imbalance
   - SmallThresholdModerateImbalance
   - Volumes At Threshold Boundaries
   - Multiple volumes above threshold, one below
   - Best destination has low utilization but insufficient space


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