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

Path Prefix is not being respected for Event-based Pull replication

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: 3 - High
    • Resolution: Done
    • Affects Version/s: 7.4.1, 6.23.1
    • Fix Version/s: 7.12.3, 6.23.7
    • Component/s: None
    • Labels:
    • Severity:
      High
    • Release Notes:
      Yes

      Description

      Steps to reproduce:

      1. Start 2 Artifactory instances
      2. in Artifactory A, configure local generic repo and deploy stuff to its root level and to a folder named "my-path-prefix"
      3. in Artifactory B, configure remote generic repo which points to the local repo from Artifactory A
      4. Configure the replication with "Enable Event Replication" enabled and "Path Prefix" set to "my-path-prefix"
      5. Manually trigger a replication and go to the Tree browser. You will see that all files were replicated, instead of just the files under the sub-path "my-path-prefix"
      6. You can also deploy another file to Artifactory A root-level and see that the file is being replicated to Artifactory B

      Note: If you follow the steps again, without enabling "Enable Event Replication", it will work as expected.

       

      Logs:

      • We only see this, since the channel is open:
      2020-05-04T10:25:43.678Z [jfrt ] [INFO ] [9526b67857b2471 ] [o.a.r.HttpRepo:422            ] [art-exec-3392       ] - generic-remote downloading http://myart.com:12046/artifactory/generic-local/system.yaml.diff 5.05 KB 
      2020-05-04T10:25:43.689Z [jfrt ] [INFO ] [9526b67857b2471 ] [o.a.r.HttpRepo:435            ] [art-exec-3392       ] - generic-remote downloaded  http://myart.com:12046/artifactory/generic-local/system.yaml.diff 5.05 KB at 509.70 KB/sec 

       

        Attachments

          Activity

            People

            Assignee:
            shahafg Shahaf Golan
            Reporter:
            avivb Aviv Blonder
            Votes:
            1 Vote for this issue
            Watchers:
            8 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Sync Status

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