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

Artifactory instances upgraded to 5.5+ fail to accept duplicate GitLFS deployments

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: 5.5.2
    • Fix Version/s: 5.7.0, 5.8.0, 5.6.3
    • Component/s: Git LFS
    • Labels:
      None

      Description

      Artifactory instances upgraded to 5.5+ fail to accept duplicate GitLFS deployments.

      Specifically, if an object with checksum X is deployed before upgrading and then the instance is upgraded, the deployment of that same object to a different repository will fail.

      To reproduce

      1. Set up a new Artifactory 5.4.6 instance
      2. Using GitLFS, deploy an object to a GitLFS repo
      3. Upgrade the Artifactory instance to 5.5.2
      4. Using GitLFS, deploy the SAME object to a different GitLFS repo
      5. Notice the errors

      The same issue does not occur when performing all steps on a 5.5.2 instance.

      The error

      Client error
      Client error: http://mill.jfrog.team:12097/artifactory/gitlfs2/objects/0d/cb/0dcbc5b98c5e6cf222169ff2989f1c80ab601d613d133d9639a82aa9512d7274;sha256=0dcbc5b98c5e6cf222169ff2989f1c80ab601d613d133d9639a82aa9512d7274 from HTTP 409
      
      artifactory.log
      2017-11-08 02:05:23,917 [http-nio-8081-exec-2] [WARN ] (o.a.r.ArtifactoryResponseBase:107) - Sending HTTP error code 409: Checksum policy 'LocalRepoChecksumPolicy: CLIENT' rejected the artifact 'gitlfs2:objects/0d/cb/0dcbc5b98c5e6cf222169ff2989f1c80ab601d613d133d9639a82aa9512d7274'. Checksums info: ChecksumsInfo{checksums={SHA-1=ChecksumInfo{type=SHA-1, original='null', actual='319b26dfed4d39eea17c2b29f7b1523bc49fb1b1'}, MD5=ChecksumInfo{type=MD5, original='null', actual='f79331fc12d61547a08c7e39d0afe30e'}, SHA-256=ChecksumInfo{type=SHA-256, original='0dcbc5b98c5e6cf222169ff2989f1c80ab601d613d133d9639a82aa9512d7274', actual='null'}}}
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                rotemk Rotem Kfir
                Reporter:
                arturoa Arturo Aparicio
                Assigned QA:
                Gilad Kalchheim (Inactive)
              • Votes:
                1 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: