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

Raul Gutierrez Segales commented on ZOOKEEPER-2218:
---------------------------------------------------

could you please upload the patch here as well and hit the `submit patch` 
button? if you are creating the patch with git you can use:

{code}
git diff --no-prefix HEAD~1.. > ZOOKEEPER-2218.patch
{code}

thanks!

(i'll comment in the github pull request as well, but we need the patch 
uploaded here & tests to pass in order to be able to merge it). 

> Close IO Streams in finally block
> ---------------------------------
>
>                 Key: ZOOKEEPER-2218
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2218
>             Project: ZooKeeper
>          Issue Type: Bug
>            Reporter: Tang Xinye
>            Assignee: Bill Havanki
>            Priority: Critical
>
> The problem here is that if an exception is thrown during the read process 
> the method will exit without closing the stream and hence without releasing 
> the file system resources, it may run out of resources before it does run.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to