Incremental updates to user transaction state at read-only nodes of a distributed database
First Claim
1. A system, comprising:
- a plurality of database nodes that implement a distributed database;
a common data store that persistently maintains data for the distributed database that is accessible to the plurality of database nodes;
a read-only node of the plurality of database nodes, configured to;
maintain in-memory system metadata that describes transaction state for a user transaction initiated at a read-write node of the plurality of database nodes;
receive an indication of a change to the transaction state for the user transaction from the read-write node, wherein the initiated user transaction performs one or more updates to the data persistently maintained for the distributed database at the common data store;
in response to the receipt of the indication of the change to the transaction state for the user transaction;
update in-memory system metadata to apply the change to the transaction state for the user transaction in the in-memory system metadata; and
make a view of the distributed database available for read requests according to the transaction state for the user transaction initiated at the read-write node.
1 Assignment
0 Petitions
Accused Products
Abstract
A distributed database system may implement incremental updates to user transaction state at read-only nodes of the distributed database. A read-write node of the distributed database may determine a change to transaction state for a user transaction initiated at the read-write node. The read-write node may send a notification of the change to the transaction state for the user transaction to a read-only node in order to incrementally update the transaction state for the user transaction at the read-only node. The read-only node may receive the notification of the change to the transaction state and update in-memory system metadata to apply the change to the transaction state for the user transaction. A view of the distributed database may be made available at the read-only node for read requests according to the updated transaction state for the user transaction.
47 Citations
20 Claims
-
1. A system, comprising:
-
a plurality of database nodes that implement a distributed database; a common data store that persistently maintains data for the distributed database that is accessible to the plurality of database nodes; a read-only node of the plurality of database nodes, configured to; maintain in-memory system metadata that describes transaction state for a user transaction initiated at a read-write node of the plurality of database nodes; receive an indication of a change to the transaction state for the user transaction from the read-write node, wherein the initiated user transaction performs one or more updates to the data persistently maintained for the distributed database at the common data store; in response to the receipt of the indication of the change to the transaction state for the user transaction; update in-memory system metadata to apply the change to the transaction state for the user transaction in the in-memory system metadata; and make a view of the distributed database available for read requests according to the transaction state for the user transaction initiated at the read-write node. - View Dependent Claims (2, 3, 4)
-
-
5. A method, comprising:
performing, by one or more computing devices implementing at least one read-only node of a plurality of database nodes, wherein the plurality of database nodes implement a distributed database; receiving an indication of a change to transaction state for a user transaction initiated at a read-write node of the plurality of database nodes from the read-write node, wherein the initiated user transaction performs one or more updates to data persistently maintained for the distributed database at a common data store that is accessible to the read-write node and the at least one read-only node; in response to receiving the indication of the change to the transaction state for the user transaction; updating in-memory system metadata to apply the change to the transaction state for the user transaction in the in-memory system metadata; and making a view of the distributed database available for read requests according to the transaction state for the user transaction initiated at the read-write node. - View Dependent Claims (6, 7, 8, 9, 10, 11, 12, 13)
-
14. A non-transitory, computer-readable storage medium, storing program instructions that when executed by one or more computing devices cause the one or more computing devices to implement:
-
determining, at a read-write node, a change to transaction state for a user transaction initiated at the read-write node, wherein the read-write node is one of a plurality of database nodes, wherein the plurality of database nodes implement a distributed database, wherein the initiated user transaction performs one or more updates to data persistently maintained for the distributed database at a common data store that is accessible to the plurality of database nodes; in response to determining the change to transaction state for the user transaction, sending a notification of the change to the transaction state for the user transaction to at least one read-only node of the plurality of database nodes; receiving, at the at least one read-only node, the notification of the change to the transaction state for the user transaction initiated at the read-write node; and in response to receiving the indication of the change to the transaction state for the transaction, updating in-memory system metadata to apply the change to the transaction state for the user transaction in the in-memory system metadata. - View Dependent Claims (15, 16, 17, 18, 19, 20)
-
Specification