lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael McCandless (JIRA)" <j...@apache.org>
Subject [jira] Commented: (LUCENE-2663) wrong exception from NativeFSLockFactory (LIA2 test case)
Date Thu, 23 Sep 2010 18:53:33 GMT

    [ https://issues.apache.org/jira/browse/LUCENE-2663?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12914160#action_12914160
] 

Michael McCandless commented on LUCENE-2663:
--------------------------------------------

I think it is the recent changes to NativeFSLockFactory...

IW tries to first clear the lock, if create=true, and that attempt is causing the exception.
 Really this is a holdover from SimpleFSLockFactory, which can leave orphan'd locks... so
maybe somehow we shouldn't do this for other lock factories?

> 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message