Details
-
Bug
-
Status: Reopened
-
Blocker
-
Resolution: Fixed
-
None
-
None
-
None
-
New
Description
IndexWriter.isLocked() or IndexReader.isLocked() do not work with NativeFSLockFactory.
The problem is, that the method NativeFSLock.isLocked() just checks if the same lock instance was locked before (lock != null). If the LockFactory created a new lock instance, this always returns false, even if its locked.
Attachments
Issue Links
- is part of
-
LUCENE-1877 Use NativeFSLockFactory as default for new API (direct ctors & FSDir.open)
- Closed