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

Deadlock in IndexWriter

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.9.3
    • Fix Version/s: 2.9.4
    • Component/s: core/index
    • Labels:
      None
    • Environment:

      ALL

    • Lucene Fields:
      New, Patch Available

      Description

      If autoCommit == true a merge usually triggers a commit. A commit (prepareCommit) can trigger a merge vi the flush method. There is a synchronization mechanism for commit (commitLock) and a separate synchronization mechanism for merging (ConcurrentMergeScheduler.wait). If one thread holds the commitLock monitor and another one holds the ConcurrentMergeScheduler monitor we have a deadlock.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              goller@detego-software.de Christoph Goller
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 2h
                2h
                Remaining:
                Remaining Estimate - 2h
                2h
                Logged:
                Time Spent - Not Specified
                Not Specified