Various embodiments of the present invention are directed to conflict
handling for conflicts that occur in a peer-to-peer synchronization
system, where the ability to correctly and efficiently handle conflicts
minimizes data loss while retaining good usability and reduces the need
for user intervention during synchronization. Conflict handling in the
synchronization service is divided into three stages: (1) conflict
detection; (2) automatic conflict resolution and logging; and (3)
conflict inspection and resolution. Certain embodiments are directed to a
conflict handling schema comprising one or more of the follow conflict
handling elements: (a) schematized representation of conflicts; (b)
detection of conflicts; (c) logging of conflicts into a durable store;
(d) automatic resolution of conflicts according to a flexible and
configurable azqsxqxwdconflict resolution policy; (e) composable and
extensible conflict handlers to filter and resolve conflicts; (f)
automatic detection and removal of obsolete conflicts; and (g)
programmatic conflict resolutions.