Developing custom arbiters for multi-master replication
Change collisions might occur if the same records can be changed simultaneously in two places. In a multi-master replication topology, catalog service domains detect collisions automatically. When a catalog service domain detects a collision, it invokes an arbiter. Typically, collisions are resolved with the default collision arbiter. However, an application can provide a custom collision arbiter.
Before you begin
- See Planning multiple data center topologies for more information about planning and designing the multi-master replication topology.
- See Configuring multiple data center topologies for more information about setting up links between catalog service domains.
About this task
If a catalog service domain receives a replicated entry that collides with a collision record, the default arbiter uses the changes from the lexically lowest named catalog service domain. For example, if domain A and B generate a conflict for a record, then the change from domain B is ignored. Domain A keeps its version and the record in domain B is changed to match the record from domain A. Domain names are converted to uppercase for comparison.
An alternative option is for the multi-master replication topology to call on a custom collision plug-in to decide the outcome. These instructions outline how to develop a custom collision arbiter and configure a multi-master replication topology to use it.