A method, computer program product, and a data processing system for
performing data replication in a multi-mastered system is provided. A
first data processing system receives a replication command generated by
a second data processing system. A conflict is identified between a first
entry maintained by the first data processing system and a second entry
of the second data processing system. Responsive to identifying the
conflict, a one of the first entry and the second entry is determined to
be a most recently modified entry and a remaining entry of the first and
second entries is determined to be a least recently modified entry. The
least recently modified entry is replaced with the most recently modified
entry, and the least recently modified entry is logged.