Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
Description
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.
Attachments
Issue Links
- links to