Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-7759 Improve Ozone Replication Manager
  3. HDDS-8110

ReplicationManager: Introduce basic limits on ReplicateContainer commands

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.4.0
    • SCM

    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

          Activity

            People

              sodonnell Stephen O'Donnell
              sodonnell Stephen O'Donnell
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: