lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Frederik Van Hoyweghen <>
Subject Issues with locked indices
Date Tue, 06 Jun 2017 10:36:21 GMT

We are currently experiencing some issues where the lock on our index isn't
being released properly (for some reason). Our indexing process ends with
close() being called on all the writers that were used in the indexing

We currently use the default NativeFSLockFactory
are considering trying one of the other ones.
I am looking at SimpleFSlockFactory
the only code change would be to unlock the index directory before indexing
to account for any abnormal JVM exits.

Is this something that would function well in both a local storage/NFS
based environment?
This is my only worry since some of our servers use NFS while others use
local storage.

For good measure, the exception I am getting is:
LockObtainFailedException: Lock obtain timed out: NativeFSLock@

This is on a non-NFS system.

Kind regards,

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message