Commit and rollback of data streams provided by partially trusted entities
First Claim
Patent Images
1. A system, comprising:
- at least one processor; and
at least one memory comprising instructions that, in response to being executed by the at least one processor, cause the system at least to;
maintain a first version of a collection of data on one or more storage devices;
associate the first version of the collection of data with information indicative of an accepted state of the first version of the collection, wherein the information indicative of the accepted state includes a first acceptance status indicator that indicates a first metatransaction has been accepted;
associate a second version of the collection of data with information indicative of an unaccepted state of the second version of the collection, the second version of the collection of data based on one or more transactions applied to the first version of the collection, wherein the information indicative of the unaccepted state includes a second acceptance status indicator that indicates a second metatransaction has not been accepted; and
in response to a request to access the collection of data, provide access to the first version of the collection of data based on determining that the second version is associated with an unaccepted state.
1 Assignment
0 Petitions
Accused Products
Abstract
A collection of key-value pairs may be maintained by a key-value database management system. Updates to the collection may be provided by a partially trusted entity. The updates to the collection may be stored in a series of transactions that are committed synchronously but associated with a second version of the collection of key-value pairs that is not immediately visible to a data consumer. The second version of the collection may initially be associated with an unaccepted state. The second version may be accepted and made available to the data consumer, or rejected and rolled back to the previous version.
-
Citations
20 Claims
-
1. A system, comprising:
-
at least one processor; and at least one memory comprising instructions that, in response to being executed by the at least one processor, cause the system at least to; maintain a first version of a collection of data on one or more storage devices; associate the first version of the collection of data with information indicative of an accepted state of the first version of the collection, wherein the information indicative of the accepted state includes a first acceptance status indicator that indicates a first metatransaction has been accepted; associate a second version of the collection of data with information indicative of an unaccepted state of the second version of the collection, the second version of the collection of data based on one or more transactions applied to the first version of the collection, wherein the information indicative of the unaccepted state includes a second acceptance status indicator that indicates a second metatransaction has not been accepted; and in response to a request to access the collection of data, provide access to the first version of the collection of data based on determining that the second version is associated with an unaccepted state. - View Dependent Claims (2, 3, 4, 5)
-
-
6. A method, comprising:
-
maintaining a first version of a collection of data on one or more storage devices; associating the first version of the collection of data with information indicative of an accepted state of the first version of the collection; associating a second version of the collection of data with information indicative of an unaccepted state of the second version of the collection, the second version of the collection of data based on one or more changes to the first version of the collection; and in response to a request to access the collection of data, providing access to the first version of the collection of data based on determining that the second version is associated with an unaccepted state. - View Dependent Claims (7, 8, 9, 10, 11, 12, 13)
-
-
14. A non-transitory computer-readable storage medium having stored thereon executable instructions that, as a result of being executed by one or more processors of a computer system, cause the computer system to at least:
-
maintain a first version of a collection of data on one or more storage devices; associate the first version of the collection of data with information indicative of an accepted state of the first version of the collection; associate a second version of the collection of data with information indicative of an unaccepted state of the second version of the collection, the second version of the collection of data based on one or more transactions applied to the first version of the collection; and in response to a request to access the collection of data, provide access to the first version of the collection of data based on determining that the second version is associated with an unaccepted state. - View Dependent Claims (15, 16, 17, 18, 19, 20)
-
Specification