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

Prevent replication of metadata temp (_tmp, _temp) folders from the source Artifactory to the destination server

    Details

    • Type: Bug
    • Status: Reopened
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: 4.0.0
    • Fix Version/s: None
    • Component/s: Replication, RPM, YUM
    • Labels:
      None

      Description

      If the replication is triggered when the calculation of metadata on YUM/Debian repository is running then the indexes temporary folders ( _tmp for YUM, _temp for Debian) are being replicated also.

      Steps to reproduce:

      1. Create a replication with event base replication enabled on a YUM repository.
      2. Run calculation on the repository.
      3. While the calculation is running, deploy a new artifact to the YUM repository. Now the replication will be triggered and the _tmp folders will be replicated also.

      Workaround for this issue:

      1. Check the checkbox for Sync Deletes in the replication tab. This will delete all the folders in the destination Artifactory that were removed in the source Artifactory also. Please note, that this will remove artifacts that were deleted also.
      2. Use the plugin for clean-up an empty folders from our public GitHub repository: https://github.com/JFrogDev/artifactory-user-plugins/blob/master/cleanup/deleteEmptyDirs.groovy

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                shayb Shay Bagants
                Reporter:
                alexeiv Alexei Vainshtein
              • Votes:
                3 Vote for this issue
                Watchers:
                8 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: