Gargi Jaiswal created HDDS-14213:
------------------------------------
Summary: DiskBalancer fails to balance when destination volume
exists but no source volume exceeds threshold
Key: HDDS-14213
URL: https://issues.apache.org/jira/browse/HDDS-14213
Project: Apache Ozone
Issue Type: Sub-task
Reporter: Gargi Jaiswal
As now https://issues.apache.org/jira/browse/HDDS-14175 this PR is merged, we
need to handle second case as below:
(1) one volume beyond threshold and no volumes under threshold{*}(already
handled){*}
{code:java}
Disk1, 30, 100
Disk2, 30, 100
Disk3, 40, 100100 / 300 = 33.3%
Disk1: 30%
Disk2: 30%
Disk3: 40%Threshold: 10
Disk utilization range (23.3, 43.3)
Out range volume list: NULLThreshold: 5
Disk utilization range (28.3, 38.3)
Out range volume list: Disk3 {code}
(2) 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: NULLThreshold: 5
Disk utilization range (21.7, 31.7)
Out range volume list: Disk3
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]