[ 
https://issues.apache.org/jira/browse/HDDS-5760?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Siddhant Sangwan resolved HDDS-5760.
------------------------------------
    Resolution: Fixed

> ContainerBalancer incorrectly exits an iteration early without checking move 
> results.
> -------------------------------------------------------------------------------------
>
>                 Key: HDDS-5760
>                 URL: https://issues.apache.org/jira/browse/HDDS-5760
>             Project: Apache Ozone
>          Issue Type: Sub-task
>          Components: SCM
>            Reporter: Siddhant Sangwan
>            Assignee: Siddhant Sangwan
>            Priority: Major
>
> In ContainerBalancer#doIteration:
> {code}
>       IterationResult result = checkConditionsForBalancing();
>       if (result != null) {
>         LOG.info("Exiting current iteration: {}", result);
>         return result;
>       }
> {code}
> Leads to the iteration ending early without checking move results and 
> updating metrics. This bug can be reproduced by setting the 
> {{maxSizeToMovePerIteration}} to a small value such as 5GB that allows one 
> container move before ending the iteration.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to