Database replication system
First Claim
Patent Images
1. A method for executing an event in a multi-master replication network, comprising:
- monitoring events executed on a first master system in a multi-master replication network and identifying occurrence of a first event executed on the first master system;
replicating the first event to a second master system in the multi-master replication network and executing the replicated first event on the second master system as a second event;
monitoring events executed on the second master system and identifying occurrence of the second event executed on the second master system;
determining the first event and the second event to be identical;
selecting, by a slave system, a first occurring event of the first event and the second event for execution on the slave system in the multi-master replication network without selecting the other event of the first event and the second event for execution on the slave system in response to determining that the first event and second event are identical, the slave system is a slave of both the first master system and the second master system, and selecting the first occurring event comprises;
designating the first master system as an originating system based on the first master system receiving a request from a client system to execute the first event, andidentifying the selected first occurring event based on the originating system; and
executing, by the slave system, the selected event.
9 Assignments
0 Petitions
Accused Products
Abstract
A method and apparatus for updating a slave system in a multi-master replication network is provided. The method involves executing a first event on a first master system within the multi-master replication network and executing a second event on a second master system in the multi-master replication network, where the first event and the second event are identical. The method further involves selecting an event from the first event and the second event and executing the selected event on a slave system.
-
Citations
15 Claims
-
1. A method for executing an event in a multi-master replication network, comprising:
-
monitoring events executed on a first master system in a multi-master replication network and identifying occurrence of a first event executed on the first master system; replicating the first event to a second master system in the multi-master replication network and executing the replicated first event on the second master system as a second event; monitoring events executed on the second master system and identifying occurrence of the second event executed on the second master system; determining the first event and the second event to be identical; selecting, by a slave system, a first occurring event of the first event and the second event for execution on the slave system in the multi-master replication network without selecting the other event of the first event and the second event for execution on the slave system in response to determining that the first event and second event are identical, the slave system is a slave of both the first master system and the second master system, and selecting the first occurring event comprises; designating the first master system as an originating system based on the first master system receiving a request from a client system to execute the first event, and identifying the selected first occurring event based on the originating system; and executing, by the slave system, the selected event. - View Dependent Claims (2, 3, 4, 5)
-
-
6. An apparatus for executing an event in a multi-master replication network comprising:
-
one or more subsystems implemented at least partially in hardware, configured to monitor events executed on a first master system in a multi-master network and identify occurrence of a first event executed on the first master system; one or more subsystems implemented at least partially in hardware, configured to replicate the first event to a second master system in the multi-master replication network and execute the replicated first event on the second master system as a second event; one or more subsystems implemented at least partially in hardware, configured to monitor events executed on the second master system and identify occurrence of the second event executed on the second master system; one or more subsystems implemented at least partially in hardware, configured to determine the first event and the second event to be identical; one or more subsystems implemented at least partially in hardware, configured to select, by a slave system, a first occurring event of the first event and the second event for execution on the slave system without selecting the other event of the first event and the second event for execution on the slave system in response to determination that the first event and the second event are identical, the slave system is a slave of both the first master system and the second master system, and selection of the first occurring event comprises; one or more subsystems implemented at least partially in hardware, configured to designate the first master system as an originating system based on the first master system receiving a request from a client system to execute the first event, and one or more subsystems implemented at least partially in hardware, configured to identify the selected first occurring event based on the originating system; and one or more subsystems implemented at least partially in hardware, configured to execute, by the slave system, the selected event. - View Dependent Claims (7, 8, 9, 10)
-
-
11. A non-transitory computer readable medium storing software instructions for executing an event in a multi-master replication network, the software instructions comprising:
-
monitoring events executed on a first master system in a multi-master replication network and identifying occurrence of a first event executed on the first master system; replicating the first event to a second master system in the multi-master replication network and executing the replicated first event on the second master system as a second event; monitoring events executed on the second master system and identifying occurrence of the second event executed on the second master system; determining the first event and the second event to be identical; selecting, by a slave system, a first occurring event of the first event and the second event for execution on the slave system in the multi-master replication network without selecting the other event of the first event and the second event for execution on the slave system in response to determining that the first event and second event are identical, the slave system is a slave of both the first master system and the second master system, and selecting the first occurring event comprises; designating the first master system as an originating system based on the first master system receiving a request from a client system to execute the first event, and identifying the selected first occurring event based on the originating system; and executing, by the slave system, the selected event. - View Dependent Claims (12, 13, 14, 15)
-
Specification