Uploaded image for project: 'Artifactory Binary Repository'
  1. Artifactory Binary Repository
  2. RTFACT-16171

Enabling "Quota Control" can cause for race condition in artifacts deployment and to fail deployment.

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 5.9.0
    • Fix Version/s: 5.11.0, 6.0.0
    • Component/s: Binary Provider
    • Labels:
      None

      Description

      Enabling "Quota Control" can cause for race condition in artifacts deployment and to fail deployment.

      As part of the "Quota Control", when deploying an artifact, Artifactory check for the size of the cache directory, in edge cases, it is possible that artifact will be cleaned from the _pre directory (since it deployment finished) and since it not exist it will fail the deployment.

      steps to reproduce the issue:
      1. add file to the cache/_pre folder.
      2. start deployment of an artifact.
      3. delete the artifact from step 1 while deploying the artifact - > this operation must occur in the moment Artifactory looking for the files.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                nadavy Nadav Yogev
                Reporter:
                yehudah Yehuda Hadad
                Assigned QA:
                Rotem Kfir
              • Votes:
                2 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: