Conflict resolution v5
Most conflicts can be resolved automatically. PGD defaults to a last-update-wins mechanism or, more accurately, the update_if_newer
conflict resolver. This mechanism retains the most recently inserted or changed row of the two conflicting ones based on the same commit timestamps used for conflict detection. The behavior in certain corner-case scenarios depends on the settings used for bdr.create_node_group
and alternatively for bdr.alter_node_group
.
PGD lets you override the default behavior of conflict resolution by using bdr.alter_node_set_conflict_resolver.