Return-Path: Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: (qmail 24126 invoked from network); 16 Nov 2010 15:00:12 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 16 Nov 2010 15:00:12 -0000 Received: (qmail 76825 invoked by uid 500); 16 Nov 2010 15:00:41 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 76753 invoked by uid 500); 16 Nov 2010 15:00:41 -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 76738 invoked by uid 99); 16 Nov 2010 15:00:40 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Nov 2010 15:00:40 +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; Tue, 16 Nov 2010 15:00:39 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id oAGF0JgU005945 for ; Tue, 16 Nov 2010 15:00:19 GMT Message-ID: <23264179.109971289919619516.JavaMail.jira@thor> Date: Tue, 16 Nov 2010 10:00:19 -0500 (EST) From: "Michael McCandless (JIRA)" To: dev@lucene.apache.org Subject: [jira] Updated: (LUCENE-2767) Missing sync in IndexWriter.addIndexes(IndexReader[]) In-Reply-To: <20512220.109921289919617813.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/LUCENE-2767?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael McCandless updated LUCENE-2767: --------------------------------------- Component/s: Index Fix Version/s: 4.0 3.1 3.0.3 2.9.4 Assignee: Michael McCandless > Missing sync in IndexWriter.addIndexes(IndexReader[]) > ----------------------------------------------------- > > Key: LUCENE-2767 > URL: https://issues.apache.org/jira/browse/LUCENE-2767 > Project: Lucene - Java > Issue Type: Bug > Components: Index > Reporter: Michael McCandless > Assignee: Michael McCandless > Fix For: 2.9.4, 3.0.3, 3.1, 4.0 > > > The 3.x build just hit this: > {noformat} > [junit] Testsuite: org.apache.lucene.index.TestAddIndexes > [junit] Testcase: testAddIndexesWithThreads(org.apache.lucene.index.TestAddIndexes): FAILED > [junit] expected:<3160> but was:<2701> > [junit] junit.framework.AssertionFailedError: expected:<3160> but was:<2701> > [junit] at org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:779) > [junit] at org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:745) > [junit] at org.apache.lucene.index.TestAddIndexes.testAddIndexesWithThreads(TestAddIndexes.java:708) > [junit] > [junit] > [junit] Tests run: 15, Failures: 1, Errors: 0, Time elapsed: 9.28 sec > [junit] > [junit] ------------- Standard Output --------------- > [junit] java.lang.AssertionError: RefCount is 0 pre-decrement for file "_8a.tvf" > [junit] at org.apache.lucene.index.IndexFileDeleter$RefCount.DecRef(IndexFileDeleter.java:608) > [junit] at org.apache.lucene.index.IndexFileDeleter.decRef(IndexFileDeleter.java:505) > [junit] at org.apache.lucene.index.IndexFileDeleter.decRef(IndexFileDeleter.java:496) > [junit] at org.apache.lucene.index.IndexWriter.addIndexes(IndexWriter.java:2972) > [junit] at org.apache.lucene.index.TestAddIndexes$CommitAndAddIndexes.doBody(TestAddIndexes.java:681) > [junit] at org.apache.lucene.index.TestAddIndexes$RunAddIndexesThreads$1.run(TestAddIndexes.java:624) > [junit] NOTE: reproduce with: ant test -Dtestcase=TestAddIndexes -Dtestmethod=testAddIndexesWithThreads -Dtests.seed=-6912763261803132408:-5575674032550262483 -Dtests.multiplier=3 > [junit] NOTE: test params are: locale=en_AU, timezone=America/Atka > {noformat} > It looks like it's caused by a long-standing missing sync (since at least 2.9.x). I think likely we hit it just now thanks to adding random Thread.yield()'s in MockDirWrapper! -- 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