Return-Path: Delivered-To: apmail-lucene-java-dev-archive@www.apache.org Received: (qmail 15841 invoked from network); 23 Mar 2007 21:02:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 23 Mar 2007 21:02:56 -0000 Received: (qmail 73754 invoked by uid 500); 23 Mar 2007 21:03:01 -0000 Delivered-To: apmail-lucene-java-dev-archive@lucene.apache.org Received: (qmail 73693 invoked by uid 500); 23 Mar 2007 21:03:01 -0000 Mailing-List: contact java-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-dev@lucene.apache.org Delivered-To: mailing list java-dev@lucene.apache.org Received: (qmail 73682 invoked by uid 99); 23 Mar 2007 21:03:00 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Mar 2007 14:03:00 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Mar 2007 14:02:52 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 903B5714058 for ; Fri, 23 Mar 2007 14:02:32 -0700 (PDT) Message-ID: <25989003.1174683752587.JavaMail.jira@brutus> Date: Fri, 23 Mar 2007 14:02:32 -0700 (PDT) From: "Steven Parkes (JIRA)" To: java-dev@lucene.apache.org Subject: [jira] Updated: (LUCENE-846) IOExeception can cause loss of data due to premature segment deletion In-Reply-To: <26518018.1174677272164.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/LUCENE-846?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Steven Parkes updated LUCENE-846: --------------------------------- Attachment: LUCENE-846-test.txt Okay, here's an old version of 847 that demonstrates the problem (at least it does for me.) No looking at the rest of my half-baked code. And there's a bunch of debugging turned on in the patch, too. > IOExeception can cause loss of data due to premature segment deletion > --------------------------------------------------------------------- > > Key: LUCENE-846 > URL: https://issues.apache.org/jira/browse/LUCENE-846 > Project: Lucene - Java > Issue Type: Bug > Components: Index > Reporter: Steven Parkes > Assigned To: Michael McCandless > Attachments: LUCENE-846-test.txt > > > If you hit an IOException, e.g., disk full, while making a cfs from its constituent parts, you may not be able to rollback to the before-merge process. This happens via addIndexes. > I don't have a nice easy test for this; generating IOEs ain't so easy. But it does happen in the patch for the factored merge policy with the existing tests because the pseudo-randomly generated IOEs fall in a different place. -- 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: java-dev-unsubscribe@lucene.apache.org For additional commands, e-mail: java-dev-help@lucene.apache.org