[
https://issues.apache.org/jira/browse/LUCENE-2663?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12917190#action_12917190
]
Michael McCandless commented on LUCENE-2663:
--------------------------------------------
I think we should remove the call inside IW to dir.clearLock? This is a
holdover from when SimpleFSLockFactory was the default. And, I think it's
devious/dangerous w/ that lock factory since that lock factory lets you simply
erase the lock out from under another open IW. Ie that call masks bugs.
All tests pass when I remove it, and, the LIA lock test also passes.
> wrong exception from NativeFSLockFactory (LIA2 test case)
> ---------------------------------------------------------
>
> Key: LUCENE-2663
> URL: https://issues.apache.org/jira/browse/LUCENE-2663
> Project: Lucene - Java
> Issue Type: Bug
> Components: Index
> Reporter: Robert Muir
> Fix For: 3.1, 4.0
>
> Attachments: LUCENE-2663_test.patch
>
>
> As part of integrating Lucene In Action 2 test cases (LUCENE-2661), I found
> one of the test cases fail
> the test is pretty simple, and passes on 3.0. The exception you get instead
> (LockReleaseFailedException) is
> pretty confusing and I think we should fix it.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]