[RTFACT-16171] Enabling "Quota Control" can cause for race condition in artifacts deployment and to fail deployment. Created: 20/Mar/18  Updated: 06/Jun/19  Resolved: 02/May/18

Status: Resolved
Project: Artifactory Binary Repository
Component/s: Binary Provider
Affects Version/s: 5.9.0
Fix Version/s: 5.11.0, 6.0.0

Type: Bug Priority: Critical
Reporter: Yehuda Hadad Assignee: Nadav Yogev
Resolution: Fixed Votes: 2
Labels: None

Issue Links:
Relationship
relates to RTFACT-16514 Storage Summary slow or fails with ca... Resolved
Assigned QA: Rotem Kfir

 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.


Generated at Thu Aug 22 04:46:16 UTC 2019 using JIRA 7.6.3#76005-sha1:8a4e38d34af948780dbf52044e7aafb13a7cae58.