Details
-
Wish
-
Status: Closed
-
Minor
-
Resolution: Incomplete
-
None
-
None
-
None
Description
as noted by yonik in SOLR-240...
How about SingleInstanceLockFactory to aid in catching concurrency bugs?
...
or even better, a subclass or other implementation: SingleInstanceWarnLockFactory or SingleInstanceCoordinatedLockFactory that log a failure if obtain() is called for a lock that is already locked.
we should create a new subclass like Yonik describes and change SolrIndexWriter to use this subclass if/when "single" is specified as the lockType.
Attachments
Issue Links
- relates to
-
SOLR-240 java.io.IOException: Lock obtain timed out: SimpleFSLock
- Closed