Ashish Kumar created HDDS-15657:
-----------------------------------

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


{{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.



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