[
http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-284?pag...
]
Sanne Grinovero updated HSEARCH-284:
------------------------------------
Summary: Be able to configure a LockFactory (was: Lucene locks left around in
application restart/crash)
As NativeFSLockFactory doesn't look like reliable enough to be the default I enabled
the option to use it, but didn't make it the default.
Also it's now possible to select the other main Lucene's implementations of
LockFactory .
Be able to configure a LockFactory
----------------------------------
Key: HSEARCH-284
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-284
Project: Hibernate Search
Issue Type: Improvement
Affects Versions: 3.0.1.GA
Reporter: sam doyle
Assignee: Sanne Grinovero
Fix For: 3.1.1
In a case where an application restarts, crashes, gets killed etc. if there is an
existing Lucene lock it will not be removed on the application restart.
As a result of this the application itself can be severely impacted.
After encountering this particular issue and needing to manually remove the lock to
resolve the problem I did some searching. It appears this situation is somewhat common and
the use of NativeFSLockFactory was the suggested solution.
Since I don't see where this particular option is configurable with Hibernate Search
I have opened this request.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://opensource.atlassian.com/projects/hibernate/secure/Administrators....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira