sodonnel opened a new pull request, #7728: URL: https://github.com/apache/ozone/pull/7728
## What changes were proposed in this pull request? When RM selects nodes to delete replicas from, it sorts the replicas by datanode UUID and then iterates the list. If a node is overloaded when it is selected for delete, then rather than holding that delete for later, it skips it and tries the next replica in the list. This can result in non-deterministic delete selection, which we want to avoid. This PR changes that, so that the original replica is no longer skipped, but will be tried again on the next iteration. ## What is the link to the Apache JIRA https://issues.apache.org/jira/browse/HDDS-12115 ## How was this patch tested? A couple of new mis-replication tests added and a test which started failing after the change was modified to reflect the new intended behavior. -- 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]
