Solr - index error - write.lock

Solr - index error - write.lock

Thursday 09 April 2009 6:11:14 am - 3 replies

Author Message

Johann Lemaitre

Thursday 09 April 2009 6:55:22 am

I've reinstall my ezfind extension and my stacktrace has disappeared.
I don't the origin of my problem
Doesn't matter
Johann

Paul Borgermans

Monday 13 April 2009 8:33:46 am

This means a previous process crashed without being able to release the write lock to the Solr index or there is still one running.

With normal start/stop of Solr this should not happen

Though Solr can be configured to agressively remove the lock, best is to determine the cause

Paul

eZ Publish, eZ Find, Solr expert consulting and training
http://twitter.com/paulborgermans

Gediminas Morkevicius

Wednesday 09 September 2009 4:06:45 am

I had same issue, in my case i edited /extension/ezfind/java/solr/conf/solrconfig.xml

and I changed two settings in it.
<lockType>single</lockType> to <lockType>simple</lockType>
and
<unlockOnStartup>false</unlockOnStartup> to <unlockOnStartup>true</unlockOnStartup>

it should not harm your system, it simply unlocks the files on startup, and changes the lock type.
dont forget to restart solr after changes in config

You must be logged in to post messages in this topic!

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.