sodonnel opened a new pull request, #4599: URL: https://github.com/apache/ozone/pull/4599
## What changes were proposed in this pull request? In the RatisUnderReplicationHander, the sources are sorted by BSCIS, intending that the highest ID is used as the source for the replication. However, the list is later sorted by the source command count pending for push replication, or shuffled for pull replication, so the sort is not having the intended effect. We should remove the sort here, and instead filter out all sources except those with the highest BCSID. ## What is the link to the Apache JIRA https://issues.apache.org/jira/browse/HDDS-8416 ## How was this patch tested? New unit test added -- 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]
