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

IndexWriter & ConcurrentMergeScheduler deadlock case if starting a merge hits an exception

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.3, 2.3.1
    • 2.3.2, 2.4
    • core/index
    • None
    • New

    Description

      If you're using CMS (the default) and mergeInit hits an exception (eg
      OOME), we are not properly clearing IndexWriter's internal tracking of
      running merges. This causes IW.close() to hang while it incorrectly
      waits for these non-started merges to finish.

      Attachments

        Activity

          People

            mikemccand Michael McCandless
            mikemccand Michael McCandless
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: