Nhat Nguyen created LUCENE-9423:
-----------------------------------

             Summary: Leaking FileChannel in NIOFSDirectory#openInput
                 Key: LUCENE-9423
                 URL: https://issues.apache.org/jira/browse/LUCENE-9423
             Project: Lucene - Core
          Issue Type: Bug
            Reporter: Nhat Nguyen
            Assignee: Nhat Nguyen


If we fail to get the 
[size|https://github.com/apache/lucene-solr/blob/82692e76e054d3e6938034e96a4e9632bd9f7a70/lucene/core/src/java/org/apache/lucene/store/NIOFSDirectory.java#L107]
 of a file in the constructor of NIOFSIndexInput, then we will leak a 
FileChannel opened in NIOFSDirectory#openInput.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to