lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christoph Goller (JIRA)" <>
Subject [jira] Created: (LUCENE-2783) Deadlock in IndexWriter
Date Mon, 29 Nov 2010 09:19:37 GMT
Deadlock in IndexWriter

                 Key: LUCENE-2783
             Project: Lucene - Java
          Issue Type: Bug
          Components: Index
    Affects Versions: 2.9.3
         Environment: ALL
            Reporter: Christoph Goller
             Fix For: 2.9.4

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.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message