lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Hostetter <hossman_luc...@fucit.org>
Subject Re: sharing lock files on multiple computers
Date Wed, 19 Jan 2005 01:09:50 GMT
: > ...which prompts me to wonder, how do people do this (ie: configure
: > lockDir such that processes on seperate physical computers respect
: > eachothers locks) without using NFS?
:
: There is a system property that controls where the lock files are
: written:
:
: 	http://wiki.apache.org/jakarta-lucene/LuceneFAQ#head
: -59be30838bbb5692e605384b5f4c2f224f3dfa6f

Um, yeah.  I'm actually the one that added that FAQ answer last week :)

My question is: Given the assertion that it's not safe to keep lock
files on an NFS partition, what mechanism do/would/should people use to
enable two applications running on seperate physical machines to use the
same lock file directory?

(this question is based on the understanding that unless the applications
are sharing the same lock directory, and index may be corrupted by
concurrent modifications, correct?)



-Hoss


---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-user-help@jakarta.apache.org


Mime
View raw message