Chung En Lee created HDDS-14013:
-----------------------------------

             Summary: Release resources properly
                 Key: HDDS-14013
                 URL: https://issues.apache.org/jira/browse/HDDS-14013
             Project: Apache Ozone
          Issue Type: Sub-task
            Reporter: Chung En Lee
            Assignee: Chung En Lee


See 
[https://github.com/apache/ozone/pull/6613#discussion_r2558921152|https://github.com/apache/ozone/pull/6613#discussion_r2558921152.]

{{`getAndSet(true)`}} returns the previous value, `wasNotYetComplete` would be 
false the first time it's called. This could cause releaseStreamResources() to 
be skipped the first time it's called.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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

Reply via email to