You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Wei-Chiu Chuang (Jira)" <ji...@apache.org> on 2023/09/27 19:47:00 UTC
[jira] [Assigned] (HDDS-9358) recoverLease should close underlying streams
[ https://issues.apache.org/jira/browse/HDDS-9358?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Wei-Chiu Chuang reassigned HDDS-9358:
-------------------------------------
Assignee: Wei-Chiu Chuang
> recoverLease should close underlying streams
> --------------------------------------------
>
> Key: HDDS-9358
> URL: https://issues.apache.org/jira/browse/HDDS-9358
> Project: Apache Ozone
> Issue Type: Sub-task
> Components: Ozone Client
> Affects Versions: 1.4.0
> Reporter: Attila Doroszlai
> Assignee: Wei-Chiu Chuang
> Priority: Major
>
> {{FSDataOutputStream.recoverLease}} leaves the underlying {{KeyOutputStream}} / {{BlockOutputStream}} open. Subsequent attempt to close {{FSDataOutputStream}} throws {{OMException: Failed to commit key, as ... is not found in the OpenKey table}}. Thus {{XceiverClientRatis}} is leaked.
--
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