lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Grant Ingersoll (JIRA)" <j...@apache.org>
Subject [jira] Updated: (LUCENE-1050) SimpleFSLockFactory ignores error on deleting the lock file
Date Thu, 17 Jan 2008 13:04:02 GMT

     [ https://issues.apache.org/jira/browse/LUCENE-1050?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Grant Ingersoll updated LUCENE-1050:
------------------------------------

    Attachment: LUCENE-1050-2.patch

Patch for SimpleLock

> SimpleFSLockFactory ignores error on deleting the lock file
> -----------------------------------------------------------
>
>                 Key: LUCENE-1050
>                 URL: https://issues.apache.org/jira/browse/LUCENE-1050
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: Store
>    Affects Versions: 2.2
>            Reporter: Michael McCandless
>            Assignee: Grant Ingersoll
>            Priority: Minor
>             Fix For: 2.3
>
>         Attachments: LUCENE-1050-2.patch, LUCENE-1050.patch
>
>
> Spinoff from here:
>     http://www.gossamer-threads.com/lists/lucene/java-user/54438
> The Lock.release for SimpleFSLockFactory ignores the return value of lockFile.delete().
 I plan to throw a new LockReleaseFailedException, subclassing from IOException, when this
returns false.  This is a very minor change to backwards compatibility because all methods
in Lucene that release a lock already throw IOException.

-- 
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


Mime
View raw message