[
https://issues.apache.org/jira/browse/HDDS-15565?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Attila Doroszlai updated HDDS-15565:
------------------------------------
Fix Version/s: 2.3.0
Resolution: Implemented
Status: Resolved (was: Patch Available)
> 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
> Priority: Major
> Labels: pull-request-available
> Fix For: 2.3.0
>
>
> 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]