Return-Path: X-Original-To: apmail-lucene-dev-archive@www.apache.org Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C059A7A24 for ; Mon, 1 Aug 2011 21:45:12 +0000 (UTC) Received: (qmail 56809 invoked by uid 500); 1 Aug 2011 21:45:11 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 56709 invoked by uid 500); 1 Aug 2011 21:45:10 -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 56675 invoked by uid 99); 1 Aug 2011 21:45:10 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Aug 2011 21:45:10 +0000 X-ASF-Spam-Status: No, hits=-2000.7 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Aug 2011 21:45:09 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 7E608579BF for ; Mon, 1 Aug 2011 21:44:48 +0000 (UTC) Date: Mon, 1 Aug 2011 21:44:48 +0000 (UTC) From: "Michael McCandless (JIRA)" To: dev@lucene.apache.org Message-ID: <551374886.156.1312235088514.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <222300428.16010.1311873429902.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (LUCENE-3348) IndexWriter applies wrong deletes during concurrent flush-all 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-3348?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13073804#comment-13073804 ] Michael McCandless commented on LUCENE-3348: -------------------------------------------- OK I attached output of a failure -- it's 400K lines. Search for the AssertionError, where id:26 couldn't find a doc nor tombstone. > IndexWriter applies wrong deletes during concurrent flush-all > ------------------------------------------------------------- > > Key: LUCENE-3348 > URL: https://issues.apache.org/jira/browse/LUCENE-3348 > Project: Lucene - Java > Issue Type: Bug > Components: core/index > Reporter: Michael McCandless > Assignee: Michael McCandless > Fix For: 3.4, 4.0 > > Attachments: LUCENE-3348.patch, LUCENE-3348.patch, LUCENE-3348.patch, fail.txt.bz2 > > > Yonik uncovered this with the TestRealTimeGet test: if a flush-all is > underway, it is possible for an incoming update to pick a DWPT that is > stale, ie, not yet pulled/marked for flushing, yet the DW has cutover > to a new deletes queue. If this happens, and the deleted term was > also updated in one of the non-stale DWPTs, then the wrong document is > deleted and the test fails by detecting the wrong value. > There's a 2nd failure mode that I haven't figured out yet, whereby 2 > docs are returned when searching by id (there should only ever be 1 > doc since the test uses updateDocument which is atomic wrt > commit/reopen). > Yonik verified the test passes pre-DWPT, so my guess is (but I > have yet to verify) this test also passes on 3.x. I'll backport > the test to 3.x to be sure. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org For additional commands, e-mail: dev-help@lucene.apache.org