[
https://issues.apache.org/jira/browse/HDDS-10753?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ivan Andika updated HDDS-10753:
-------------------------------
Target Version/s: 2.0.0, 1.4.2
> OmKeyInfo#acls and WithMetadata#metadata are not thread safe
> ------------------------------------------------------------
>
> Key: HDDS-10753
> URL: https://issues.apache.org/jira/browse/HDDS-10753
> Project: Apache Ozone
> Issue Type: Bug
> Components: OM
> Reporter: Tsz-wo Sze
> Assignee: Tsz-wo Sze
> Priority: Major
> Labels: pull-request-available
> Fix For: 2.0.0
>
>
> [~XiChen] pointed out in [this
> comment|https://github.com/apache/ozone/discussions/6518#discussioncomment-9192008]
> that OMKeyInfo#copyObject is just a shallow copy. It is not thread safe
> since OmKeyInfo#acls is just an ArrayList.
> Similarly, WithMetadata#metadata is also not thread safe.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]