Uploaded image for project: 'Felix'
  1. Felix
  2. FELIX-474

Remote lock file can remain locked when using certain transport protocols

    XMLWordPrintableJSON

Details

    Description

      The OBR plugin uses a remote 'lock-file' to lock the remote OBR while it is being updated.
      To lock the OBR, it uploads a file containing "LOCKED", to unlock it uploads an empty file.

      For some reason with certain transports (such as file:) uploading an empty file does not
      overwrite the existing file, which means the remote OBR will remain locked.

      To workaround this issue we should upload a file containing a single space, and change
      the lock check to trigger on files that are more than 2 bytes long. (this is simpler than
      finding the root cause in maven or wagon and waiting for a fix)

      Attachments

        Activity

          People

            mcculls Stuart McCulloch
            mcculls Stuart McCulloch
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: