Stephen O'Donnell created HDDS-8110:
---------------------------------------

             Summary: ReplicationManager: Introduce basic limits on 
ReplicateContainer commands
                 Key: HDDS-8110
                 URL: https://issues.apache.org/jira/browse/HDDS-8110
             Project: Apache Ozone
          Issue Type: Sub-task
          Components: SCM
            Reporter: Stephen O'Donnell
            Assignee: Stephen O'Donnell


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.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to