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

[jira] [Updated] (HDDS-14013) Release stream resources in StreamBlockInputStream properly

     [ https://issues.apache.org/jira/browse/HDDS-14013?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chu Cheng Li updated HDDS-14013:
--------------------------------
    Summary: Release stream resources in StreamBlockInputStream properly  (was: Release resources properly)

> Release stream resources in StreamBlockInputStream 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
>            Priority: Critical
>              Labels: pull-request-available
>
> 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