Patent ID: 11921699
Assignee: AMAZON TECHNOLOGIES, INC.
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 0:
1. A system, comprising:
a plurality of computing devices, respectively comprising a processor and a memory, that implement a plurality of database nodes with access to database data;
wherein a first database node of the plurality of database nodes is configured to:
perform a write to the database data to obtain a consistency lease, wherein the consistency lease confirms write access to the database data and ensures read-after-write consistency among the plurality of database nodes, wherein the consistency lease describes a point in time determined from a time-to-live (TTL) amount of time added to a consistent state point in time for the database data received in response to the write to the database data, wherein the consistent state point in time is determined based on a time provided a local agent of time synchronization service;
receive a read request directed to the database data;
determine a multi-version concurrency control (MVCC) snapshot time for the read request;
determine that the MVCC snapshot time for the read request is less than the point in time of the consistency lease; and
responsive to the determination that the MVCC snapshot time for the read request is less than the point in time of the consistency lease:
perform the read request to the database data according to the multi-version concurrency control snapshot time; and
return a result based on the performance of the read request.