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

Tsz-wo Sze resolved HDDS-9438.
------------------------------
    Fix Version/s: 2.2.0
       Resolution: Fixed

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

> Improve ProtocolMessageMetrics
> ------------------------------
>
>                 Key: HDDS-9438
>                 URL: https://issues.apache.org/jira/browse/HDDS-9438
>             Project: Apache Ozone
>          Issue Type: Improvement
>          Components: common
>            Reporter: Tsz-wo Sze
>            Assignee: Chen-Jheng Sing
>            Priority: Minor
>              Labels: pull-request-available
>             Fix For: 2.2.0
>
>
> The implementation of ProtocolMessageMetrics is inefficient.  We may improve 
> it by
> - Use unmodifiable EnumMap.
> - Use only one map.
> - Do not recreate the same MetricName and MetricsTag constants.



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