[RTFACT-18400] Error on distributing release bundle with same file but different checksum Created: 16/Jan/19  Updated: 12/Feb/20

Status: Open
Project: Artifactory Binary Repository
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Blocker
Reporter: Sowjanya Kamatam Assignee: Gal Ben Ami
Resolution: Unresolved Votes: 0
Labels: dist
Environment:

Distribution-1.3,

Artifactory-6.5.2


Issue Links:
Dependency
Regression:
Yes

 Description   

Error: "Artifact <filename.tar.gz> cannot replace an artifact that is part of a bundle."
 
Cause for the error: When a file in release bundle is distributed multiple times (different versions of release bundle) and if the checksum doesn't match with already existing file in Edge node, the distribution fails.
 
Steps to reproduce:
1. Distribute a new release bundle with a file (example: testbundle/test.tar.gz) 
2. Change the file test.ar.gz and deploy it in source Artifactory. Checksum of test.tar.gz is different now.
3. Create new release bundle in Distribution with the file test.tar.gz and distribute the release bundle. This will fail because the checksum value doesn't match with already existing file test.tar.gz in Edge node.
 
Request: ** Distribution is failing overwriting files in target instances because of checksum mismatch. Can we please have an overwrite option to write the files to release bundle in target instances?
 
 
 



 Comments   
Comment by Krzysztof Malinowski [ 12/Feb/20 ]

I think this behavior is by design and it makes sense: a release bundle should not be changed once published, allowing this behavior will lead to inconsistencies in published artifacts.

Generated at Tue Feb 18 08:11:06 UTC 2020 using JIRA 7.6.16#76018-sha1:9ed376192612a49536ac834c64177a0fed6290f5.