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

Ashish Kumar updated HDDS-15657:
--------------------------------
    Issue Type: Task  (was: Bug)

> 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: Task
>            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]

Reply via email to