Return-Path: Delivered-To: apmail-lucene-java-dev-archive@www.apache.org Received: (qmail 41879 invoked from network); 31 Oct 2006 22:42:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 31 Oct 2006 22:42:33 -0000 Received: (qmail 18904 invoked by uid 500); 31 Oct 2006 22:42:41 -0000 Delivered-To: apmail-lucene-java-dev-archive@lucene.apache.org Received: (qmail 18860 invoked by uid 500); 31 Oct 2006 22:42:41 -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 18849 invoked by uid 99); 31 Oct 2006 22:42:41 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 31 Oct 2006 14:42:41 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of DORONC@il.ibm.com designates 195.212.29.151 as permitted sender) Received: from [195.212.29.151] (HELO mtagate2.de.ibm.com) (195.212.29.151) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 31 Oct 2006 14:42:29 -0800 Received: from d12nrmr1607.megacenter.de.ibm.com (d12nrmr1607.megacenter.de.ibm.com [9.149.167.49]) by mtagate2.de.ibm.com (8.13.8/8.13.8) with ESMTP id k9VMg896250928 for ; Tue, 31 Oct 2006 22:42:08 GMT Received: from d12av04.megacenter.de.ibm.com (d12av04.megacenter.de.ibm.com [9.149.165.229]) by d12nrmr1607.megacenter.de.ibm.com (8.13.6/8.13.6/NCO v8.1.1) with ESMTP id k9VMj1Xv3141732 for ; Tue, 31 Oct 2006 23:45:01 +0100 Received: from d12av04.megacenter.de.ibm.com (loopback [127.0.0.1]) by d12av04.megacenter.de.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id k9VMg7ob012293 for ; Tue, 31 Oct 2006 23:42:07 +0100 Received: from d12mc102.megacenter.de.ibm.com (d12mc102.megacenter.de.ibm.com [9.149.167.114]) by d12av04.megacenter.de.ibm.com (8.12.11.20060308/8.12.11) with ESMTP id k9VMg7MJ012290 for ; Tue, 31 Oct 2006 23:42:07 +0100 In-Reply-To: <4547A855.4090706@apache.org> Subject: Re: lock path thoughts To: java-dev@lucene.apache.org X-Mailer: Lotus Notes Release 7.0 HF277 June 21, 2006 Message-ID: From: Doron Cohen Date: Tue, 31 Oct 2006 14:24:33 -0800 X-MIMETrack: Serialize by Router on D12MC102/12/M/IBM(Release 7.0.1HF269 | June 22, 2006) at 01/11/2006 00:45:01 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII X-Virus-Checked: Checked by ClamAV on apache.org Doug Cutting wrote: > I think the need for that would disappear if the lockless commit patch > gets committed. Then there'd be no reason not to put lock files > directly in the index directory, since only writers would need to lock > things. Great! and so we also get rid of this risk: > .. source for possible problems, when users mis configure > their lock prefixes. - if the index path was not configured > correctly, the index would not be found, and this is likely > to be found and fixed pretty soon. But if lock path prefixes > are misconfigured, chances are that the index would get corrupted. So this is an additional advantage of lock-less commits (patch 701). --------------------------------------------------------------------- To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org For additional commands, e-mail: java-dev-help@lucene.apache.org