lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jackson Earnst <>
Subject commit lock, graceful handler
Date Tue, 02 Nov 2004 03:10:45 GMT
I'm testing fault tollerance aspects of an application using Lucene. 
Consider if power is pulled form the server/workstation and it
immediately shuts down hard or crashes.

I'm faced with a situation of a commit.lock file exising in the temp
directory.  Lucene is throwing an exception when a writer is first
created against this index.  An IOexception comes about and "Lock
obtained timed out" error occurs.

REading some docs anf FAQs I see that this could be deleted and the
index will be in a usable state.

Any advice/comments/thoughts?

Is there a graceful way to handle this?  


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message