Uploaded image for project: 'Lucy'
  1. Lucy
  2. LUCY-265

Index lockfiles left behind

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.4.0
    • Component/s: Store
    • Labels:
      None

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              marvin Marvin Humphrey
              Reporter:
              twilkens Tim Wilkens
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: