Opportunistic clearing of sync states associated with a database
First Claim
1. A method performed on a provider that comprises at least one computing device, the method comprising:
- creating, by the provider in response to a data item that has been or is intended to be deleted from a database, a tombstone that is another data item that represents the data item that has been or is intended to be deleted from the database;
receiving, by the provider from one of one or more consumer devices, a request related to the database;
updating, by the provider in response to the received request, the one of the one or more consumers devices with any changes to the database since a last time the one of the one or more consumer devices was updated with the database;
maintaining, by the provider, the tombstone in response to any of the one or more consumer devices not having been updated with changes to the database since the creation of the tombstone; and
deleting, by the provider, the tombstone in response to all of the one or more consumer devices having been updated with the changes to the database since the creation of the tombstone.
2 Assignments
0 Petitions
Accused Products
Abstract
Systems and techniques of the management of the metadata of a database are presented. A provider is in communication with a database and a set of consumers of the database. Data may be changed by addition, editing or deletion from the database and such changes are recorded and/or maintained by the provider on a list of changes. The changes on this list may be associated with a sync token. The provider may also maintain a list of consumers and associate with each consumer a last sync token which describes when the last sync request and update on the database was made with the consumer. Data which is deleted from the database is recorded with a tombstone. The tombstone is maintained on the list of changes until all consumers have been made aware of the deletion—then the tombstone may be deleted from the list of changes.
12 Citations
20 Claims
-
1. A method performed on a provider that comprises at least one computing device, the method comprising:
-
creating, by the provider in response to a data item that has been or is intended to be deleted from a database, a tombstone that is another data item that represents the data item that has been or is intended to be deleted from the database; receiving, by the provider from one of one or more consumer devices, a request related to the database; updating, by the provider in response to the received request, the one of the one or more consumers devices with any changes to the database since a last time the one of the one or more consumer devices was updated with the database; maintaining, by the provider, the tombstone in response to any of the one or more consumer devices not having been updated with changes to the database since the creation of the tombstone; and deleting, by the provider, the tombstone in response to all of the one or more consumer devices having been updated with the changes to the database since the creation of the tombstone. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A provider comprising:
-
at least one computing device via which the provider creates, in response to a data item that has been or is intended to be deleted from a database, a tombstone that is another data item that represents the data item that has been or is intended to be deleted from the database; communications hardware via which the provider receives, from one of one or more consumer devices, a request related to the database; the communications hardware via which the provider updates, in response to the received request, the one of the one or more consumers devices with any changes to the database since a last time the one of the one or more consumer devices was updated with the database; the at least one computing device via which the provider maintains the tombstone in response to any of the one or more consumer devices not having been updated with changes to the database since the creation of the tombstone; and the at least one computing device via which the provider deletes the tombstone in response to all of the one or more consumer devices having been updated with the changes to the database since the creation of the tombstone. - View Dependent Claims (9, 10, 11, 12, 13, 20)
-
-
14. At least one hardware computer-readable storage medium that comprises computer-executable instructions that, based on execution by at least one computing device of a provider, configure the provider to perform actions comprising:
-
creating, by the provider in response to a data item that has been or is intended to be deleted from a database, a tombstone that is another data item that represents the data item that has been or is intended to be deleted from the database; receiving, by the provider from one of one or more consumer devices, a request related to the database; updating, by the provider in response to the received request, the one of the one or more consumers devices with any changes to the database since a last time the one of the one or more consumer devices was updated with the database; maintaining, by the provider, the tombstone in response to any of the one or more consumer devices not having been updated with changes to the database since the creation of the tombstone; and deleting, by the provider, the tombstone in response to all of the one or more consumer devices having been updated with the changes to the database since the creation of the tombstone. - View Dependent Claims (15, 16, 17, 18, 19)
-
Specification