You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Michael McCandless (JIRA)" <ji...@apache.org> on 2006/12/19 12:35:23 UTC

[jira] Resolved: (LUCENE-748) Exception during IndexWriter.close() prevents release of the write.lock

     [ http://issues.apache.org/jira/browse/LUCENE-748?page=all ]

Michael McCandless resolved LUCENE-748.
---------------------------------------

    Fix Version/s: 2.1
       Resolution: Fixed

OK I just commited the fix to the javadoc.  Thanks Jed!

> Exception during IndexWriter.close() prevents release of the write.lock
> -----------------------------------------------------------------------
>
>                 Key: LUCENE-748
>                 URL: http://issues.apache.org/jira/browse/LUCENE-748
>             Project: Lucene - Java
>          Issue Type: Bug
>    Affects Versions: 1.9
>         Environment: Lucene 1.4 through 2.1 HEAD (as of 2006-12-14)
>            Reporter: Jed Wesley-Smith
>         Assigned To: Michael McCandless
>             Fix For: 2.1
>
>
> After encountering a case of index corruption - see http://issues.apache.org/jira/browse/LUCENE-140 - when the close() method encounters an exception in the flushRamSegments() method, the index write.lock is not released (ie. it is not really closed).
> The writelock is only released when the IndexWriter is GC'd and finalize() is called.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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