[
https://issues.apache.org/jira/browse/HDDS-15657?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ashish Kumar updated HDDS-15657:
--------------------------------
Description:
{{selectionCriteria}} is re-created fresh every iteration.
{code:java}
selectionCriteria = new ContainerBalancerSelectionCriteria(config,cnodeManager,
replicationManager, containerManager, findSourceStrategy,
containerToSourceMap); {code}
If container C failed (ContainerNotFoundException or any other error) in
iteration 1 and was added to excludeContainersDueToFailure, it will be tried
again in iteration 2 with the same result. This wastes time on permanently
broken containers.
was:
{{selectionCriteria}} is re-created fresh every iteration.
{code:java}
selectionCriteria = new ContainerBalancerSelectionCriteria(config,
nodeManager, replicationManager, containerManager, findSourceStrategy,
containerToSourceMap); {code}
If container C failed (ContainerNotFoundException or any other error) in
iteration 1 and was added to excludeContainersDueToFailure, it will be tried
again in iteration 2 with the same result. This wastes time on permanently
broken containers.
> excludeContainersDueToFailure resets every iteration, repeatedly failing
> containers keep being retried
> ------------------------------------------------------------------------------------------------------
>
> Key: HDDS-15657
> URL: https://issues.apache.org/jira/browse/HDDS-15657
> Project: Apache Ozone
> Issue Type: Bug
> Reporter: Ashish Kumar
> Priority: Major
>
> {{selectionCriteria}} is re-created fresh every iteration.
> {code:java}
> selectionCriteria = new
> ContainerBalancerSelectionCriteria(config,cnodeManager, replicationManager,
> containerManager, findSourceStrategy, containerToSourceMap); {code}
> If container C failed (ContainerNotFoundException or any other error) in
> iteration 1 and was added to excludeContainersDueToFailure, it will be tried
> again in iteration 2 with the same result. This wastes time on permanently
> broken containers.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]