Invention Grant
- Patent Title: Methods and systems for non-blocking transactions
-
Application No.: US17371403Application Date: 2021-07-09
-
Publication No.: US11860860B2Publication Date: 2024-01-02
- Inventor: Nathan J. VanBenschoten , Andrei Matei , Andrew E. Kimball
- Applicant: Cockroach Labs, Inc.
- Applicant Address: US NY New York
- Assignee: Cockroach Labs, Inc.
- Current Assignee: Cockroach Labs, Inc.
- Current Assignee Address: US NY New York
- Agency: Goodwin Procter LLP
- Main IPC: G06F16/23
- IPC: G06F16/23 ; G06F16/27

Abstract:
Methods and systems for executing non-blocking transactions at a database are provided. The method includes receiving a write transaction that is directed to a partition of a table stored by a cluster of database nodes. The method includes generating, at a database node of the cluster, a synthetic timestamp based on a first time associated with the database node and a duration, wherein the synthetic timestamp exceeds the first time by the duration. The method includes executing, based on determining the synthetic timestamp, one or more operations of the write transaction at one or more replicas of the partition. The method includes committing, based on a threshold number of acknowledgements, the one or more operations of the write transaction at the one or more replicas. The method includes sending, based on a second time exceeding the synthetic timestamp, an indication of success of the write transaction.
Public/Granted literature
- US20230021150A1 METHODS AND SYSTEMS FOR NON-BLOCKING TRANSACTIONS Public/Granted day:2023-01-19
Information query