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 2014/02/28 02:23:20 UTC
[jira] [Commented] (ZOOKEEPER-1890) unclosed FileOutputStream in
FileTxnLog.rollLog
[ https://issues.apache.org/jira/browse/ZOOKEEPER-1890?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13915326#comment-13915326 ]
ASF GitHub Bot commented on ZOOKEEPER-1890:
-------------------------------------------
GitHub user andrewgaul opened a pull request:
https://github.com/apache/zookeeper/pull/10
ZOOKEEPER-1890: Close FileOutputStream in FileTxnLog
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/maginatics/zookeeper close-stream-filetxnlog
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/zookeeper/pull/10.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #10
----
commit 37b41819a8956f191f08d0414d05b0f78f83bde2
Author: Andrew Gaul <ga...@maginatics.com>
Date: 2014-02-28T01:16:08Z
ZOOKEEPER-1890: Close FileOutputStream in FileTxnLog
----
> unclosed FileOutputStream in FileTxnLog.rollLog
> -----------------------------------------------
>
> Key: ZOOKEEPER-1890
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1890
> Project: ZooKeeper
> Issue Type: Bug
> Reporter: Andrew Gaul
> Attachments: zookeeper-1890.patch
>
>
> When calling rollLog, FileTxnLog flushes but does not close its FileOutputStream, leaking a file descriptor.
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)