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

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

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.5, 6.0
    • Fix Version/s: 4.6, 6.0
    • Component/s: None
    • Labels:
      None
    • Lucene Fields:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: