sodonnel opened a new pull request, #4364: URL: https://github.com/apache/ozone/pull/4364
## What changes were proposed in this pull request? Create a configuration on Replication Manager that sets the limit of inflight replicate container commands to 20. The intention is to revisit this limit later to make it more dynamic, but this is a starting point. Then create a method on ReplicationManager createThrottledReplicateContainerCommand, which create the replicateContainerCommands and take into consideration the pending commands on the target datanode. If not targets for the command have capacity, it will throw an exception. Adjust the various places in ReplicationManager which send the replicateContainer commands to use the new method. Additionally switch the default replication mode to Push (rather than download) and ensure the LegacyReplicationManager continues to use download as before. ## What is the link to the Apache JIRA https://issues.apache.org/jira/browse/HDDS-8110 ## How was this patch tested? Some changes to existing tests and a few new tests 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]
