[
https://issues.apache.org/jira/browse/HDDS-4058?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Attila Doroszlai updated HDDS-4058:
-----------------------------------
Fix Version/s: 1.1.0
> Wrong use of AtomicBoolean in HddsDatanodeService
> -------------------------------------------------
>
> Key: HDDS-4058
> URL: https://issues.apache.org/jira/browse/HDDS-4058
> Project: Apache Ozone
> Issue Type: Bug
> Components: Ozone Datanode
> Reporter: Attila Doroszlai
> Assignee: Attila Doroszlai
> Priority: Minor
> Labels: pull-request-available
> Fix For: 1.1.0
>
>
> * {{AtomicBoolean isStopped}} should be {{final}}, not {{volatile}}, since
> the reference is not being changed
> * {{stop()}} should use atomic {{getAndSet()}} instead of {{get()}} followed
> by {{set()}}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]