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

Deadlock in IndexWriter

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.9.3
    • 2.9.4
    • core/index
    • None
    • ALL

    • 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

            Unassigned Unassigned
            goller@detego-software.de Christoph Goller
            Votes:
            0 Vote for this issue
            Watchers:
            0 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