Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-748

Exception during IndexWriter.close() prevents release of the write.lock

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.9
    • 2.1
    • None
    • None
    • Lucene 1.4 through 2.1 HEAD (as of 2006-12-14)

    • New

    Description

      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.

      Attachments

        Activity

          People

            mikemccand Michael McCandless
            jedws Jed Wesley-Smith
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: