You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Uwe Schindler (JIRA)" <ji...@apache.org> on 2009/09/04 00:18:58 UTC
[jira] Resolved: (LUCENE-1885)
NativeFSLockFactory.makeLock(...).isLocked() does not work
[ https://issues.apache.org/jira/browse/LUCENE-1885?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Uwe Schindler resolved LUCENE-1885.
-----------------------------------
Resolution: Fixed
Committed revision: 811157
> NativeFSLockFactory.makeLock(...).isLocked() does not work
> ----------------------------------------------------------
>
> Key: LUCENE-1885
> URL: https://issues.apache.org/jira/browse/LUCENE-1885
> Project: Lucene - Java
> Issue Type: Bug
> Reporter: Uwe Schindler
> Assignee: Uwe Schindler
> Priority: Blocker
> Fix For: 2.9
>
>
> 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.
--
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: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org