[
https://issues.apache.org/jira/browse/LUCENE-9423?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Nhat Nguyen updated LUCENE-9423:
--------------------------------
Fix Version/s: master (9.0)
8,7
> Leaking FileChannel in NIOFSDirectory#openInput
> -----------------------------------------------
>
> Key: LUCENE-9423
> URL: https://issues.apache.org/jira/browse/LUCENE-9423
> Project: Lucene - Core
> Issue Type: Bug
> Components: core/store
> Affects Versions: master (9.0), 8.7
> Reporter: Nhat Nguyen
> Assignee: Nhat Nguyen
> Priority: Major
> Fix For: master (9.0), 8,7
>
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> 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 bug is discovered by a
> test failure in
> [Elasticsearch|https://github.com/elastic/elasticsearch/issues/39585#issuecomment-654995186].
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]