[ https://issues.apache.org/jira/browse/IGNITE-9438?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16601950#comment-16601950 ]
Sergey Antonov edited comment on IGNITE-9438 at 9/4/18 7:42 AM: ---------------------------------------------------------------- Please, review changes. [Team City|https://ci.ignite.apache.org/project.html?projectId=IgniteTests24Java8&branch_IgniteTests24Java8=pull%2F4658%2Fhead] was (Author: antonovsergey93): Please, review changes. https://ci.ignite.apache.org/project.html?projectId=IgniteTests24Java8&branch_IgniteTests24Java8=pull%2F4658%2Fhead > 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)