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

IndexWriter doesn't process all events on getReader / close / rollback

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 4.5, 6.0
    • 4.6, 6.0
    • None
    • None
    • New, Patch Available

    Description

      IndexWriter misses to apply all pending events in getReader() as well as close() / rollback(). This can lead to files that never get deleted or only very very late. If you are using RAM Directories for instance this quickly fills up a huge amount of memory. It might not be super critical in production and it also doesn't cause any data loss or index corruption.

      Attachments

        1. LUCENE-5330.patch
          2 kB
          Simon Willnauer

        Activity

          People

            simonw Simon Willnauer
            simonw Simon Willnauer
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: