You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Stephen O'Donnell (Jira)" <ji...@apache.org> on 2022/10/24 14:31:00 UTC

[jira] [Created] (HDDS-7402) Adapt CommandQueue to track the count of each queued command type

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: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org