Replication merge strategies

This topic describes the strategies for merging properties during replication import.

You can merge properties according to one of the following strategies:

Strategy Description
Override The new version is created solely based on data from an import file. Target server changes are ignored and will be overridden.
Merge without conflicts

The new version is created as a result of a properties merge from replication (source) and target servers.

If a property was changed on either the target or source server, the merge result is successful and the updated property value is used. However, if conflicting changes were made to the property on the target and source servers, the system will generate an error and cancel the import.

Merge with replication priority This is the same as the Merge Without Conflicts strategy, but if a conflict occurs, it is resolved using the replication (source) server property change.
Merge with target server priority This is the same as the Merge Without Conflicts strategy, but if a conflict occurs, it is resolved using the target server property change.

Note: Strategies for merging properties are used for versioned and non-versioned properties.

The following table demonstrates the results for each merge strategy using sample data. In this example, the properties have already been imported once from the replication (source) server to the target server.

Initial data before second import Properties merge strategy and import result on a target server
On replication, or source (R) On target (T) Override Without conflicts Source priority Target priority
No changes No changes No changes No changes No changes No changes
No changes Delete Data restored from R Data deleted Data deleted Data deleted
No changes Edit Data restored from R Edited data from T Edited data from T Edited data from T
Delete No changes Data deleted Data deleted Data deleted Data deleted
Delete Delete Data deleted Data deleted Data deleted Data deleted
Delete Edit Data deleted Conflict, stop import Data deleted Edited data from T
Edit No changes Edited data from R Edit data from R Edit data from R Edited data from R
Edit Delete Edited data from R Conflict, stop import Edit data from R Data deleted
Edit Edit Edited data from R Conflict, stop import Edit data from R Edited data from T
Add data on R Add data on T Only added R data Added R and T data Added R and T data Added R and T data

Back to top

See also: