[ 
https://issues.apache.org/jira/browse/HDDS-9358?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17824156#comment-17824156
 ] 

Wei-Chiu Chuang commented on HDDS-9358:
---------------------------------------

[~ashishk] can you take up this one? Not urgent but I haven't been able to find 
a cycle to look into this. It's been a while so not sure if this is still an 
issue.

> 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: Ashish Kumar
>            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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to