Uploaded image for project: 'Artifactory Binary Repository'
  1. Artifactory Binary Repository
  2. RTFACT-21338

If artifact is duplicated in the Packages then deletion of that artifact removes only one entry.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Resolution: Done
    • Affects Version/s: 6.17.0
    • Fix Version/s: 6.18.0, 7.3.0
    • Component/s: Debian
    • Labels:
      None
    • Severity:
      Medium

      Description

      When uploading few Debian packages at the same time, the deployment cause for race condition and ends up with duplication of artifacts in the 'Packages' file, manual metadata calculation fix the 'Packages' file and remove the duplications.

      Steps to reproduce:
      1. collect few Debian packages for upload.
      2. deploy the artifact at the same, for example using the following script:

      #!/bin/bash
      
      artifacts=$(ls testDeb)
      
      for deb in $artifacts; do
      curl -uadmin:password -XPUT "http://localhost:8081/artifactory/debian-local/pool/$deb;deb.distribution=development;deb.component=artif;deb.architecture=amd64" -T ./testDeb/$deb &
      done
      

      3.download the relevant 'Packages' file and look for the number of indexed artifacts (will be higher than the artifacts number).

      4. Delete one of the duplicated artifacts

      5. Download the Packages again and you will still see one entrance of that artifact that you removed.

       

        Attachments

          Issue Links

            Activity

                People

                Assignee:
                alexeiv Alexei Vainshtein
                Reporter:
                alexeiv Alexei Vainshtein
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    Sync Status

                    Connection: RTFACT Sync
                    RTMID-21338 -
                    SYNCHRONIZED
                    • Last Sync Date: