[ 
https://issues.apache.org/jira/browse/HDDS-12749?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tsz-wo Sze updated HDDS-12749:
------------------------------
    Fix Version/s: 2.2.0
       Resolution: Fixed
           Status: Resolved  (was: Patch Available)

The pull request is now merged.  Thanks, [~sarvekshayr]!

> Use EnumCounters instead Map<Type, Integer> for command counts
> --------------------------------------------------------------
>
>                 Key: HDDS-12749
>                 URL: https://issues.apache.org/jira/browse/HDDS-12749
>             Project: Apache Ozone
>          Issue Type: Improvement
>          Components: Ozone Datanode
>            Reporter: Tsz-wo Sze
>            Assignee: Sarveksha Yeshavantha Raju
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 2.2.0
>
>
> In DatanodeStateMachine, CommandDispatcher and StateContext, the return type 
> of getQueuedCommandCount() methods is Map<Type, Integer>. It is more 
> efficient to return EnumCounters.
>  - 
> [https://github.com/apache/hadoop/blob/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/util/EnumCounters.java]



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