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

Pull replications still working while disabled globally

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 6.11.3, 6.13.1
    • Fix Version/s: 6.16.0
    • Component/s: Replication
    • Labels:
      None

      Description

      Steps to reproduce:

      1. Configure 2 Artifactory instances: 'A' and 'B'
      2. Create a local repository on instance 'B'
      3. Create a smart remote repository on instance 'A'
      4. Configure and enable Pull Replication (incl. Event-based) 'A' pulls from 'B'
      5. Globally block pull replications on 'A' : [Artifactory UI] >  [Admin] > [General Configuration] > [Global Replication Blocking] >  [Block Replications] > [Block Pull Replications]
      6. Deploy a binary to instance 'B'

       

      Expected:

      The file will not be replicated.

      Actual result:

      The file pulled by instance 'A' from 'B'

       

       

      request.log of 'B':

      20191023140438|368|REQUEST|xxx.xxx.xxx.xx|admin|GET|/local-repo/jfrog|HTTP/1.1|200|16950222

       

      artifactory.log of 'A':

      2019-10-23 14:04:37,366 [art-exec-111] [WARN ] (o.a.a.r.c.r.e.InboundReplicationChannel:88) - Skipping execution of event remote-repo, pull replications are disabled globally
      2019-10-23 14:04:37,699 [art-exec-111] [INFO ] (o.a.r.HttpRepo      :470) - remote-repo downloading http://artifactory.local:12241/artifactory/local-repo/jfrog 16.16 MB 
      2019-10-23 14:04:38,198 [art-exec-111] [INFO ] (o.a.r.HttpRepo      :483) - remote-repo downloaded  http://artifactory.local:12241/artifactory/local-repo/jfrog 16.16 MB at 33,621.28 KB/sec

        Attachments

          Activity

            People

            Assignee:
            rotemk Rotem Kfir
            Reporter:
            valeriyp Valeriy Petrov
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: