lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yonik Seeley <yo...@lucidworks.com>
Subject Re: differences of LockFactory between solr 3.6.1 and 4.0.0?
Date Wed, 17 Oct 2012 13:43:55 GMT
On Wed, Oct 17, 2012 at 9:33 AM, Bernd Fehling
<bernd.fehling@uni-bielefeld.de> wrote:
> Hi list,
>
> while checking the runtime behavior of solr 4.0.0 I recognized that the handling
> of write.lock seams to be different.
>
> With solr 3.6.1 after calling optimize the index is optimzed and write.lock removed.
> This tells me everything is flushed to disk and its save to copy the index.
>
> With solr 4.0.0 after calling optimize the index is optimized but the write.lock remains.
>
> They both use NativeFSLockFactory.
>
> What could be the cause that write.lock remains with solr 4.0.0?

The IndexWriter is left open now on optimizes / commits to enable
better NRT and better concurrency with adds (commits no longer block
adds).

-Yonik
http://lucidworks.com

Mime
View raw message