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

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

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.3, 2.3.1
    • Fix Version/s: 2.3.2, 2.4
    • Component/s: core/index
    • Labels:
      None
    • Lucene Fields:
      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

            • Assignee:
              mikemccand Michael McCandless
              Reporter:
              mikemccand Michael McCandless
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: