List Info

Thread: Re: Updated: (SOLR-240) java.io.IOException: Lock obtain timed out: SimpleFSLock




Re: Updated: (SOLR-240) java.io.IOException: Lock obtain timed out: SimpleFSLock
user name
2007-07-13 09:11:52
On 7/13/07, Will Johnson <wjohnsongetconnected.com>
wrote:
> Hooray, and very cool.  I didn't know you only needed a
locking
> mechanism if you only have multiple index writers so
the use of NoLock
> by default makes perfect sense.

For Lucene, you do (did.. before lockless commits pach) need
locking
(a read lock) even to open an index with a reader.  The
write lock is
still also needed to avoid a reader changing the index via
deletion at
the same time a writer is.  Solr coordinates this at a
higher level,
hence it's not really needed.

-Yonik

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )