adoroszlai opened a new pull request #1284:
URL: https://github.com/apache/hadoop-ozone/pull/1284


   ## What changes were proposed in this pull request?
   
   * `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()`
   
   https://issues.apache.org/jira/browse/HDDS-4058
   
   ## How was this patch tested?
   
   Not really tested, trivial code change.
   
   CI passed:
   https://github.com/adoroszlai/hadoop-ozone/runs/939478014


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to