You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucy.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2014/08/08 04:02:12 UTC

[lucy-issues] [jira] [Commented] (LUCY-265) Index lockfiles left behind

    [ https://issues.apache.org/jira/browse/LUCY-265?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14090182#comment-14090182 ] 

ASF GitHub Bot commented on LUCY-265:
-------------------------------------

Github user asfgit closed the pull request at:

    https://github.com/apache/lucy/pull/6


> Index lockfiles left behind
> ---------------------------
>
>                 Key: LUCY-265
>                 URL: https://issues.apache.org/jira/browse/LUCY-265
>             Project: Lucy
>          Issue Type: Bug
>          Components: Store
>            Reporter: Tim Wilkens
>            Priority: Minor
>
> If the disk on a machine has filled and Lucy attempts to write a lockfile using `Json_spew_json` the write will fail and leave the temporary PID lockfile behind. This can cause the process which wrote the lockfile or a future process with the same PID to be locked out.
> My proposed change will move temporary lockfile creation from `Json_spew_json` into `LFLock_Request_IMP` and also attempt to delete the lockfile regardless of whether or not the lockfile was written successfully.



--
This message was sent by Atlassian JIRA
(v6.2#6252)