You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2019/01/30 12:50:00 UTC

[jira] [Updated] (ZOOKEEPER-2218) Close IO Streams in finally block

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

ASF GitHub Bot updated ZOOKEEPER-2218:
--------------------------------------
    Labels: pull-request-available  (was: )

> Close IO Streams in finally block
> ---------------------------------
>
>                 Key: ZOOKEEPER-2218
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2218
>             Project: ZooKeeper
>          Issue Type: Improvement
>            Reporter: Tang Xinye
>            Assignee: Tang Xinye
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 3.6.0
>
>         Attachments: ZOOKEEPER-2218.patch, ZOOKEEPER-2218.patch
>
>
> 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
(v7.6.3#76005)