You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Siddhant Sangwan (Jira)" <ji...@apache.org> on 2021/09/17 12:48:00 UTC

[jira] [Created] (HDDS-5760) ContainerBalancer incorrectly exits an iteration early without checking move results.

Siddhant Sangwan created HDDS-5760:
--------------------------------------

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


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: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org