SimpleFSLockFactory can not obtain lock correctly.
--------------------------------------------------
Key: LUCENENET-74
URL: https://issues.apache.org/jira/browse/LUCENENET-74
Project: Lucene.Net
Issue Type: Bug
Reporter: Digy
Priority: Critical
Attachments: SimpleFSLockFactory.patch
Obtain method of SimpleFSLockFactory uses "lockFile.Create()" method to get a
lock(lockFile is of type Fileinfo)
but FileInfo class does not raise an exception if can not create the file. So
two IndexWriters access the same index.
(nunit test --> TestLockFactory.TestDefaultFSDirectory)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.