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

             Summary: Adapt CommandQueue to track the count of each queued 
command type
                 Key: HDDS-7402
                 URL: https://issues.apache.org/jira/browse/HDDS-7402
             Project: Apache Ozone
          Issue Type: Improvement
          Components: SCM
            Reporter: Stephen O'Donnell
            Assignee: Stephen O'Donnell


Currently, all commands queued for a datanode are stored in an ArrayList, which 
is sent to the DN on each heartbeat.

In order to limit the number of commands queued on a DN at any time, it would 
be useful to be able to query the current queued count of each command type, 
allowing Replication Manager, for example, to stop sending more work to the DN 
until it has free capacity.



--
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