[ 
https://issues.apache.org/jira/browse/LUCENE-5872?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ryan Ernst resolved LUCENE-5872.
--------------------------------

    Resolution: Not a Problem

This is actually not an issue on trunk, as there was cleanup recently in 
{{shutdown()}} that made it resilient to exiting without actually closing.  
While I believe it is still possible on 4.x right now, it looks like that 
cleanup will be backported. So I'm closing this one.

> IndexUpgrader can leak an IndexWriter
> -------------------------------------
>
>                 Key: LUCENE-5872
>                 URL: https://issues.apache.org/jira/browse/LUCENE-5872
>             Project: Lucene - Core
>          Issue Type: Bug
>            Reporter: Ryan Ernst
>
> {{IndexUpgrader.upgrade()}} currently calls {{IndexWriter.shutdown()}} inside 
> the finally block.  However, if shutdown fails with an exception, the writer 
> will not be closed.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to