Would Sync Delete on Replication empty the target repo in case the Source is empty?

Pradnya Shinde
2019-01-18 00:51

Summary

Sync Delete Replication behavior when Source is empty while Target is not empty

 

Details

If you turn on sync delete replication on an empty repository, will it delete all the artifacts from the target (local)repository as well OR it would just delete the artifacts deleted after turning on the replication?

 

Resolution

If you turn on sync delete replication ('Sync Deleted Artifacts' checked) on an empty repository while the target repository is not empty, then the enabled replication purges the target repository so as to match what is at the source.

Additionally with the 'Sync Deleted Artifacts' replication on, every artifact which is deleted in the source repository will be also deleted in the target repository by the replication.