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 nadavy
                Reporter:
                yehudah yehudah
                Assigned QA:
                rotemk
                Support Rep(s):
                arielk, yehudah
              • Votes:
                2 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 3 days
                  3d
                  Remaining:
                  Remaining Estimate - 3 days
                  3d
                  Logged:
                  Time Spent - Not Specified
                  Not Specified