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

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

Anton Vinogradov (Jira)
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)