You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Ryan Ernst (JIRA)" <ji...@apache.org> on 2014/08/05 23:01:12 UTC

[jira] [Created] (LUCENE-5872) IndexUpgrader can leak an IndexWriter

Ryan Ernst created LUCENE-5872:
----------------------------------

             Summary: 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org