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

When event base push replication is enabled in Artifactory HA, checksum file deploy can fail.

    XMLWordPrintable

    Details

      Description

      When event base push replication is enabled in Artifactory HA, checksum file deploy can fail.

      When event base push replication is enabled, and the client deploying artifact and checksum file (for example .sha1 file), if the files get deployed using different nodes in the HA and we have old artifact with the same name at the same path in the target Artifactory server  but with different content (override operation), in case the checksum file deployment will finish before the replication of the artifact (the override operation), the replication of the checksum file will fail with 409 response since it not matching the old artifact checksum values - this scenario mainly occur when we deploy bug files, since the checksum file size is small (few bytes) and it replication is faster.

      Note: this behavior not affect the actual artifact replication.

      steps to reproduce:

      1. upload artifact with the name a.zip to repository in Artifactory A.
      2. configure replication to the repository from step 1 and enable event push replication at Artifactory B (Artifactory B must be an HA instance with at least 2 nodes).
      3. upload artifact with the same name but different content and a checksum file (.sha1) to Artifactory B which replicating the artifacts to the repository at Artifactory B- make sure that the files get deployed using different HA nodes.
      4. see Artifactory B logs and look for the 409 warnings.

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            yehudah Yehuda Hadad
            Votes:
            5 Vote for this issue
            Watchers:
            6 Start watching this issue

              Dates

              Created:
              Updated: