[
https://issues.apache.org/jira/browse/HDDS-14013?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Chung-En Lee updated HDDS-14013:
--------------------------------
Reporter: Chung-En Lee (was: Chung En Lee)
> 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
> Fix For: 2.2.0
>
>
> 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]