You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Sergey Antonov (JIRA)" <ji...@apache.org> on 2018/08/30 17:04:00 UTC

[jira] [Created] (IGNITE-9438) StandaloneWalRecordsIterator file descriptors leak

Sergey Antonov created IGNITE-9438:
--------------------------------------

             Summary: 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
             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)