You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Fabian Morgan (Jira)" <ji...@apache.org> on 2026/06/15 16:42:00 UTC

[jira] [Created] (HDDS-15565) Remove unnecessary synchronization in S3GatewayMetrics

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