[RTFACT-18179] Debian metadata calculation can fail due to file save race condition. Created: 31/Dec/18  Updated: 12/Nov/19

Status: Open
Project: Artifactory Binary Repository
Component/s: Debian, Metadata
Affects Version/s: 6.5.9
Fix Version/s: None

Type: Bug Priority: Normal
Reporter: Yehuda Hadad Assignee: Gal Ben Ami
Resolution: Unresolved Votes: 1
Labels: None

Issue Links:
Relationship
relates to RTFACT-20595 Race condition in Helm repositories Open

 Description   

In edge case when there are high number of concurrent Debian packages deployments, the calculation of one or more Debian packages will fail since although an ADD event have been created to the artifact it haven't been committed yet, therefore, Artifactory will not manage to find it and the metadata calculation for this fail will fail with the following error:

2018-12-11 17:59:19,567 [art-exec-597790] [WARN ] (o.j.r.d.e.DpkgMetadataExtractor:206) - Can't read Artifact at path <PATH> --> Failed to retrieve resource <PATH>: Could not get resource stream. Path ‘<PATH>’ not found in <REPO NAME>

 

the workaround for the issue is to manually trigger metadata calculation - it is possible to trigger the operation using the following REST api call.


Generated at Thu Nov 21 06:01:35 UTC 2019 using JIRA 7.6.16#76018-sha1:9ed376192612a49536ac834c64177a0fed6290f5.