Return-Path: Delivered-To: apmail-lucene-java-dev-archive@www.apache.org Received: (qmail 24560 invoked from network); 11 Sep 2006 14:15:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 11 Sep 2006 14:15:21 -0000 Received: (qmail 72027 invoked by uid 500); 11 Sep 2006 14:15:17 -0000 Delivered-To: apmail-lucene-java-dev-archive@lucene.apache.org Received: (qmail 71990 invoked by uid 500); 11 Sep 2006 14:15:16 -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 71979 invoked by uid 99); 11 Sep 2006 14:15:16 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Sep 2006 07:15:16 -0700 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_ABUSE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of yseeley@gmail.com designates 64.233.166.181 as permitted sender) Received: from [64.233.166.181] (HELO py-out-1112.google.com) (64.233.166.181) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Sep 2006 07:15:15 -0700 Received: by py-out-1112.google.com with SMTP id w49so1840810pyg for ; Mon, 11 Sep 2006 07:14:54 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=Bhh6osxRTqp+vJNcaitk4pvcYJ7OtfAggvL/q+FP1KmX/s9tX78efGdBDTru36MO4arun+AHgtVTEB05N7MSGoUDxiYH3z49OVs53CONJJvOc0kS+txPQS0vopZ/we7lm5pj1JLuQDRizL0fmcuv0EJ0/NAT21lkJU4NaxC087o= Received: by 10.35.50.1 with SMTP id c1mr8960444pyk; Mon, 11 Sep 2006 07:14:54 -0700 (PDT) Received: by 10.35.11.9 with HTTP; Mon, 11 Sep 2006 07:14:54 -0700 (PDT) Message-ID: Date: Mon, 11 Sep 2006 10:14:54 -0400 From: "Yonik Seeley" Sender: yseeley@gmail.com To: java-dev@lucene.apache.org Subject: Re: After kill -9 index was corrupt In-Reply-To: <45056B37.1090505@mikemccandless.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <4504ACA4.6090309@manawiz.com> <45056B37.1090505@mikemccandless.com> X-Google-Sender-Auth: 080f8afccc6536c1 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N On 9/11/06, Michael McCandless wrote: > However, I do think it would be a good idea to [optionally] add a > sync() call on committing the segments file to still be robust to OS / > machine crashing... it would slow down performance of indexing but > hopefully not by too much since the segments file is small. To increase crash resilience, one would want to sync all the segment files *before* writing the new segments file. Of course it's not always easy to ensure data is actually on stable storage: http://brad.livejournal.com/2116715.html -Yonik http://incubator.apache.org/solr Solr, the open-source Lucene search server --------------------------------------------------------------------- To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org For additional commands, e-mail: java-dev-help@lucene.apache.org