Return-Path: Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: (qmail 37125 invoked from network); 29 Nov 2010 10:39:04 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 29 Nov 2010 10:39:04 -0000 Received: (qmail 5188 invoked by uid 500); 29 Nov 2010 10:39:03 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 5025 invoked by uid 500); 29 Nov 2010 10:39:02 -0000 Mailing-List: contact dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@lucene.apache.org Delivered-To: mailing list dev@lucene.apache.org Received: (qmail 5018 invoked by uid 99); 29 Nov 2010 10:39:02 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 Nov 2010 10:39:02 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 Nov 2010 10:39:00 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id oATAccTg017153 for ; Mon, 29 Nov 2010 10:38:38 GMT Message-ID: <17106436.13861291027118624.JavaMail.jira@thor> Date: Mon, 29 Nov 2010 05:38:38 -0500 (EST) From: "Christoph Goller (JIRA)" To: dev@lucene.apache.org Subject: [jira] Closed: (LUCENE-2783) Deadlock in IndexWriter In-Reply-To: <13743824.12991291022377661.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/LUCENE-2783?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Christoph Goller closed LUCENE-2783. ------------------------------------ Resolution: Fixed Already fixed with introduction of mergeDone flag in OneMerge of Lucene upcoming 2.9.4 > Deadlock in IndexWriter > ----------------------- > > Key: LUCENE-2783 > URL: https://issues.apache.org/jira/browse/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 > > Original Estimate: 2h > Remaining Estimate: 2h > > 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: dev-unsubscribe@lucene.apache.org For additional commands, e-mail: dev-help@lucene.apache.org