lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brian4 <bqu...@gmail.com>
Subject Re: what does this "write.lock does not exist" mean??
Date Tue, 23 Dec 2014 14:04:59 GMT
Haven't seen this particular problem before, but it sounds like it could be a
problem with permissions or data size limits - it may be worth looking into.

The "write.lock" file is used when an index is being modified - it is how
lucene handles concurrent attempts to modify the index - a writer obtains
the lock on the index
(http://wiki.apache.org/lucene-java/LuceneFAQ#What_is_the_purpose_of_write.lock_file.2C_when_is_it_used.2C_and_by_which_classes.3F).
 

Did you check if the file is actually there (in the data/index folder of
your solr core)?  If it is, then maybe the app has permission to create the
file, but the created file does not have permissions to read and/or modify
it, so the app thinks it exists but cannot access it?  

If it's not there, maybe it is being deleted unexpectedly by some other
process/person, or alternatively, maybe it can't even create the file -
either it doesn't have permissions for that directory or there is no more
free space.

I've seen this issue several times before of running out of allowed disk
space preventing index files from being created. It's kind of like the index
is locked in its current state - or at least can't be updated all the way. 
Are you able to add a large number of documents to the index and then
confirm that they have actually been added (search for them by ID for
instance)?







--
View this message in context: http://lucene.472066.n3.nabble.com/what-does-this-write-lock-does-not-exist-mean-tp4175291p4175773.html
Sent from the Solr - User mailing list archive at Nabble.com.

Mime
View raw message