[ 
https://issues.apache.org/jira/browse/LUCENE-8244?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16428909#comment-16428909
 ] 

Michael McCandless commented on LUCENE-8244:
--------------------------------------------

I attached patch w/ test case and fix.

> SearcherTaxonomyManager.refreshIfNeeded leaks file handles on exception
> -----------------------------------------------------------------------
>
>                 Key: LUCENE-8244
>                 URL: https://issues.apache.org/jira/browse/LUCENE-8244
>             Project: Lucene - Core
>          Issue Type: Bug
>          Components: modules/facet
>            Reporter: Michael McCandless
>            Assignee: Michael McCandless
>            Priority: Major
>         Attachments: LUCENE-8244.patch
>
>
> This method first refreshes the main index, and then the taxonomy, but if an 
> exception is hit while refreshing the taxonomy, it fails to close the new 
> reader it opened from the main index.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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

Reply via email to