You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Chung En Lee (Jira)" <ji...@apache.org> on 2025/11/26 05:04:00 UTC

[jira] [Created] (HDDS-14013) Release resources properly

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: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org