Return-Path: Delivered-To: apmail-lucene-java-dev-archive@www.apache.org Received: (qmail 16914 invoked from network); 15 Sep 2006 03:44:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 15 Sep 2006 03:44:24 -0000 Received: (qmail 96237 invoked by uid 500); 15 Sep 2006 03:44:22 -0000 Delivered-To: apmail-lucene-java-dev-archive@lucene.apache.org Received: (qmail 96114 invoked by uid 500); 15 Sep 2006 03:44:21 -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 95895 invoked by uid 99); 15 Sep 2006 03:44:20 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Sep 2006 20:44:20 -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.183 as permitted sender) Received: from [64.233.166.183] (HELO py-out-1112.google.com) (64.233.166.183) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Sep 2006 20:44:13 -0700 Received: by py-out-1112.google.com with SMTP id w49so3241120pyg for ; Thu, 14 Sep 2006 20:43:43 -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=OJMTC7x9J5Kzf9xIxkuIpLK5pKy4bSRPCGGibw878IdFlXiIMlXspiNelZ2TTuMIyQBGuWp58+lJn+lBrr7uLIX0k9izWGreHbv3tjSret74CUGRwFACYXgTSCCyu4q+9LnVNnJdsshvE5ciFXbWv1Lnz4mue6naFXYrti30iUE= Received: by 10.35.52.18 with SMTP id e18mr1796132pyk; Thu, 14 Sep 2006 20:43:43 -0700 (PDT) Received: by 10.35.11.9 with HTTP; Thu, 14 Sep 2006 20:43:42 -0700 (PDT) Message-ID: Date: Thu, 14 Sep 2006 23:43:42 -0400 From: "Yonik Seeley" Sender: yseeley@gmail.com To: java-dev@lucene.apache.org Subject: Re: [jira] Commented: (LUCENE-665) temporary file access denied on Windows In-Reply-To: <450A1108.5070306@mikemccandless.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <4508809C.4000204@mikemccandless.com> <4508BE24.8050600@mikemccandless.com> <450933F2.8020601@mikemccandless.com> <450A1108.5070306@mikemccandless.com> X-Google-Sender-Auth: 58d9035e4f604b97 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N On 9/14/06, Michael McCandless wrote: > > If it will happen so rarely, make it simpler and go directly for > > segments_(N-1)... (treat it like your previous plan if segments_N.done > > hadn't been written yet). > > Yes, true, we could just fall back to the prior segments_(N-1) file in > this case. Though that means the reader will likely just hit an > IOException trying to load the segments (since a commit is "in > process") and then I'd have to re-retry against segments_N. You need to fall back in any case... (remember the writer crashing scenario). Reusing the fallback logic makes the code simpler in a case that will almost never happen. It's really just a question of if you put in extra retry logic or not. > I've been using NFS as my "proxy" for "least common denominator" I think that's a safe bet ;-) NFS v2 or v3? -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