[
https://issues.apache.org/jira/browse/IGNITE-9438?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16604122#comment-16604122
]
Dmitriy Govorukhin commented on IGNITE-9438:
--------------------------------------------
[~antonovsergey93] Thanks for the contribution, merged your changes to master.
> 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)