[
https://issues.apache.org/jira/browse/IGNITE-9438?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16598651#comment-16598651
]
ASF GitHub Bot commented on IGNITE-9438:
----------------------------------------
GitHub user antonovsergey93 opened a pull request:
https://github.com/apache/ignite/pull/4658
IGNITE-9438 fix standaloneWalRecordsIterator file descriptors leak.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/gridgain/apache-ignite IGNITE-9438
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/ignite/pull/4658.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 #4658
----
commit 0f61bec40c021e3ac0aa0a62d401d6b0cbaed819
Author: Sergey Antonov <antonovsergey93@...>
Date: 2018-08-31T12:01:21Z
IGNITE-9438 fix standaloneWalRecordsIterator file descriptors leak.
----
> StandaloneWalRecordsIterator file descriptors leak
> --------------------------------------------------
>
> Key: IGNITE-9438
> URL: https://issues.apache.org/jira/browse/IGNITE-9438
> Project: Ignite
> Issue Type: Bug
> Affects Versions: 2.6
> Reporter: Sergey Antonov
> Assignee: Sergey Antonov
> Priority: Major
> Fix For: 2.7
>
>
> In {{StandaloneWalRecordsIterator#initReadHandle()}} method are opens file
> descriptor.
> {code:java}
> FileIO fileIO = fd.isCompressed() ? new UnzipFileIO(fd.file()) :
> ioFactory.create(fd.file());
> {code}
> It not used after attempt to read segment header and it don't closed.
> Second time same file descriptor are opens in super method
> {{AbstractWalRecordsIterator#initReadHandle()}}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)