Return-Path: Delivered-To: apmail-lucene-java-dev-archive@www.apache.org Received: (qmail 54354 invoked from network); 7 Jun 2006 21:33:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 7 Jun 2006 21:33:41 -0000 Received: (qmail 17675 invoked by uid 500); 7 Jun 2006 21:33:34 -0000 Delivered-To: apmail-lucene-java-dev-archive@lucene.apache.org Received: (qmail 17558 invoked by uid 500); 7 Jun 2006 21:33:33 -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 17387 invoked by uid 99); 7 Jun 2006 21:33:32 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Jun 2006 14:33:32 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [209.237.227.198] (HELO brutus.apache.org) (209.237.227.198) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Jun 2006 14:33:32 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id D089271429F for ; Wed, 7 Jun 2006 21:32:29 +0000 (GMT) Message-ID: <17033456.1149715949850.JavaMail.jira@brutus> Date: Wed, 7 Jun 2006 21:32:29 +0000 (GMT+00:00) From: "Karel Tejnora (JIRA)" To: java-dev@lucene.apache.org Subject: [jira] Created: (LUCENE-592) Create compound file after addIndexes but before rewrite of segments MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Create compound file after addIndexes but before rewrite of segments --------------------------------------------------------------------- Key: LUCENE-592 URL: http://issues.apache.org/jira/browse/LUCENE-592 Project: Lucene - Java Type: Improvement Components: Index Versions: 2.0.0, 1.9 Reporter: Karel Tejnora Priority: Minor When compound file format is used new 'segments' file is written before cfs is created. If there is an exception (disk full, etc.) or it is opened before cfs exists, segments points to non-existing file. This is a small change in index/IndexWriter.java, just a swap a block of code beginning with if(useCompoundFile) ... -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org For additional commands, e-mail: java-dev-help@lucene.apache.org