sravani-revuri opened a new pull request, #10892: URL: https://github.com/apache/ozone/pull/10892
## What changes were proposed in this pull request? selectionCriteria is re-created fresh every iteration. ``` selectionCriteria = new ContainerBalancerSelectionCriteria(config,cnodeManager, replicationManager, containerManager, findSourceStrategy, containerToSourceMap); ``` 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. ## What is the link to the Apache JIRA https://issues.apache.org/jira/browse/HDDS-15657 ## How was this patch tested? Written unit test. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
