Fabian Morgan created HDDS-15565:
------------------------------------

             Summary: Remove unnecessary synchronization in S3GatewayMetrics
                 Key: HDDS-15565
                 URL: https://issues.apache.org/jira/browse/HDDS-15565
             Project: Apache Ozone
          Issue Type: Improvement
            Reporter: Fabian Morgan
            Assignee: Fabian Morgan


The S3GatewayMetrics can make use of a volatile read instead of exclusive lock 
when returning getMetrics(). This can help reduce unnecessary contention on the 
S3GatewayMetrics class through all the S3 apis, as the getMetrics() method is 
used in EndpointBase.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