lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Doron Cohen <DOR...@il.ibm.com>
Subject Re: lock path thoughts
Date Tue, 31 Oct 2006 22:24:33 GMT
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


Mime
View raw message