sarvekshayr opened a new pull request, #9211:
URL: https://github.com/apache/ozone/pull/9211

   ## What changes were proposed in this pull request?
   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
   
   ## What is the link to the Apache JIRA
   [HDDS-12749](https://issues.apache.org/jira/browse/HDDS-12749)
   
   ## How was this patch tested?
   Fixed the related tests.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to