Decentralized two-phase commit
AssigneeSnap Inc.
InventorsOvais Ahmad Khan, David Andrew Killian, James Daniel Baird, Tittu Jose, Arunachalam Thirupathi
Life of this patent
Estimating the term…
Loading patent…
AssigneeSnap Inc.
InventorsOvais Ahmad Khan, David Andrew Killian, James Daniel Baird, Tittu Jose, Arunachalam Thirupathi
Estimating the term…
Systems, methods, and computer readable media for decentralized two-phase commit in a datastore or database where the methods include determining pre-validating a transaction, writing first metadata to a leader partition, the first metadata including a state indicating preparing and mutations of the transaction, and writing second metadata of a follower partition to indicate the follower partition is locked by the leader partition. The methods further include updating the state of the first metadata to indicate committed and performing the transaction on the leader partition, performing the transaction on the follower partition and unlocking the follower partition, and updating the first metadata to remove the mutations of the transaction and updating the state of the first metadata to indicate the transaction is completed. The methods may further include selecting a leader partition key and updating the state of the first metadata to indicate committed unapplied.
A computing device comprising:
A method performed by a computing device, the method comprising:
A non-transitory computer-readable storage medium, the computer-readable storage medium including instructions that, when executed by a first computing device, cause the computer to perform operations comprising:
Dependencies are inferred from the claim text.