SYSTEM FOR SYNCHRONIZING REPLICAS OF A DATABASE
First Claim
Patent Images
1. A database system comprising:
- a first server site comprising a first replica of a database;
a second server site coupled to the first server site, the second server site comprising a second replica of the database; and
a client coupled to the first replica wherein the client is operable to;
send update data from a first replica to a second replica;
automatically detect a failure of the update data from the first replica to be applied to the second replica;
automatically determine a cause of the failure and where the cause of the failure occurred, wherein the determining comprises;
determining if the failure was due to a packet being lost, wherein the packet contains the update data;
parsing metadata, wherein the parsed metadata indicates if an account is locked out; and
determining if the second replica is up-to-date;
automatically resolve the cause of the failure, wherein the resolving comprises;
requesting for a packet to be resent if the cause of the failure is due to the packet being lost;
unlocking an account if the cause of the failure is due to the account being locked out;
deleting an object if the cause of the failure is due to the object not being deleted during a previous export;
notifying an appropriate authority of the failure if corrective actions need to be taken by the appropriate authority;
resending the update data;
applying the update data to the second replica; and
recording update data in an operations log.
1 Assignment
0 Petitions
Accused Products
Abstract
A system for synchronizing replicas of a database. The system detects a failure of update data from a first replica to be applied to a second replica and determines a cause of the failure. The system also resolves the cause of the failure. According to the system disclosed herein, the present invention synchronizes the replicas of the database without requiring manual intervention.
-
Citations
5 Claims
-
1. A database system comprising:
-
a first server site comprising a first replica of a database; a second server site coupled to the first server site, the second server site comprising a second replica of the database; and a client coupled to the first replica wherein the client is operable to; send update data from a first replica to a second replica; automatically detect a failure of the update data from the first replica to be applied to the second replica; automatically determine a cause of the failure and where the cause of the failure occurred, wherein the determining comprises; determining if the failure was due to a packet being lost, wherein the packet contains the update data; parsing metadata, wherein the parsed metadata indicates if an account is locked out; and determining if the second replica is up-to-date; automatically resolve the cause of the failure, wherein the resolving comprises; requesting for a packet to be resent if the cause of the failure is due to the packet being lost; unlocking an account if the cause of the failure is due to the account being locked out; deleting an object if the cause of the failure is due to the object not being deleted during a previous export; notifying an appropriate authority of the failure if corrective actions need to be taken by the appropriate authority; resending the update data; applying the update data to the second replica; and recording update data in an operations log. - View Dependent Claims (2, 3, 4)
-
-
5. A computer-readable storage medium containing program instructions for synchronizing replicas of a database, the program instructions which when executed by a computer system cause the computer system to execute a method comprising:
-
sending update data from a first replica to a second replica; automatically detecting a failure of the update data from the first replica to be applied to the second replica; automatically determining a cause of the failure and where the cause of the failure occurred, wherein the determining comprises; determining if the failure was due to a packet being lost, wherein the packet contains the update data; parsing metadata, wherein the parsed metadata indicates if an account is locked out; and determining if the second replica is up-to-date; automatically resolving the cause of the failure, wherein the resolving comprises; requesting for a packet to be resent if the cause of the failure is due to the packet being lost; unlocking an account if the cause of the failure is due to the account being locked out; deleting an object if the cause of the failure is due to the object not being deleted during a previous export; notifying an appropriate authority of the failure if corrective actions need to be taken by the appropriate authority; resending the update data; applying the update data to the second replica; and recording update data in an operations log.
-
Specification