Resolution: Not A Bug
Affects Version/s: 3.4.0, 3.6.1, 3.7.1
Fix Version/s: None
Issue: If multiple image version exist with same digest/sha value, nexus randomly picks and deletes any one version.
Developers build snapshots as part of CI/CD process during development phase.
Final snapshot is tagged as release version so digest stays the same.
Developer tries to delete the snapshot version using the API but nexus randomly deletes any version that has the same digest.
Command used to delete :
curl -v -X DELETE -u '<userid>:<passwd>' https://<host>:<port>/v2/<image name>/manifests/<digest>
Digest should be unique per version
Expose delete API that accepts version in the input request so clients know which exact version will be deleted.