# US 2022/0276994 A1 · Multi-database log with multi-item transaction support

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2022/0276994 A1
- Document ID: US20220276994A1
- Status: Published application
- Kind: A1
- Application number: 17/664,375
- Filed: 2022-05-20
- Published: 2022-09-01
- Earliest claimed: 2014-06-26
- Assignees: Amazon Technologies, Inc.
- Applicants: Amazon Technologies, Inc.
- Inventors: Allan Henry Vermeulen; Jacob Adam Gabrielson; Christopher Richard Jacques De Kadt
- Web page: https://patentgrep.com/patent/US20220276994A1

## CPC

- G06F 16/2365: {Ensuring data consistency and integrity}
- G06F 16/2358: {Change logging, detection, and notification (replication G06F16/27)}
- G06F 16/2379: {Updates performed during online database operations; commit processing}
- G06F 16/282: {Hierarchical databases, e.g. IMS, LDAP data stores or Lotus Notes}
- G06F 16/9024: {Graphs; Linked lists (G06F16/9027 takes precedence)}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

At a logging service, a representation of a transaction requested by a client is received. The transaction includes at least a first write operation directed to a data object at a first data store. Based at least in part on the contents of the representation and contents of a persistent log of the logging service, a determination is made that the requested transaction is to be committed. A log record corresponding to the first write operation is inserted into the persistent log. The first write is propagated to the first data store after the record has been inserted in the persistent log.

## Claims

### Claim at position 1

-22. (canceled)

### Claim 23

A computer-implemented method, comprising:
obtaining, at a cloud-based logging service, a first commit requirement of a first transaction;
determining, at the cloud-based logging service based at least in part on analysis of a first set of records stored in a log, a sequence in which a first set of other transactions indicated in the first commit requirement were committed; and
rejecting the first transaction by the cloud-based logging service based at least in part on the sequence.

### Claim 24 (depends on 23)

The computer-implemented method as recited in claim 23, further comprising:
obtaining, at the cloud-based logging service, a second commit requirement of a second transaction;
determining, at the cloud-based logging service based at least in part on analysis of a second set of records stored in the log, that a second set of other transactions indicated in the second commit requirement does not include a duplicate of the second transaction; and
committing the second transaction based at least in part on the determining that the second set of transactions indicated in the second commit requirement does not include a duplicate of the second transaction.

### Claim 25 (depends on 23)

The computer-implemented method as recited in claim 23, wherein the first transaction is rejected subsequent to determining, using at least a portion of the log, that the first transaction does not have a read-write conflict.

### Claim 26 (depends on 23)

The computer-implemented method as recited in claim 23, further comprising:
identifying, at the cloud-based logging service, based at least in part on one or more constraint check delimiters associated with the first commit requirements, the first set of records as records which are to be analyzed with respect to the first commit requirement.

### Claim 27 (depends on 23)

The computer-implemented method as recited in claim 23, further comprising:
obtaining, at the cloud-based logging service, a second commit requirement of a second transaction, wherein the second commit requirement is a transaction sequencing requirement which indicates that the second transaction is not to be committed if a third transaction has not been committed; and
rejecting, by the cloud-based logging service, the second transaction without determining whether the third transaction has been committed.

### Claim 28 (depends on 27)

The computer-implemented method as recited in claim 27, wherein said rejecting the second transaction is based at least in part on determining, using a portion of the log, that the second transaction has a read-write conflict with a transaction indicated in the log.

### Claim 29 (depends on 27)

The computer-implemented method as recited in claim 27, wherein said rejecting the second transaction is based at least in part on determining, using a portion of the log, that the second transaction is a duplicate of a transaction indicated in the log.

### Claim 30

A system, comprising:
one or more computing devices;
wherein the one or more computing devices include instructions that upon execution on or across the one or more computing devices:
obtain, at a cloud-based logging service, a first commit requirement of a first transaction;
determine, at the cloud-based logging service based at least in part on analysis of a first set of records stored in a log, a sequence in which a first set of other transactions indicated in the first commit requirement were committed; and
reject the first transaction by the cloud-based logging service based at least in part on the sequence.

### Claim 31 (depends on 30)

The system as recited in claim 30, wherein the one or more computing devices include further instructions that upon execution on or across the one or more computing devices:
obtain, at the cloud-based logging service, a second commit requirement of a second transaction;
determine, at the cloud-based logging service based at least in part on analysis of a second set of records stored in the log, that a second set of other transactions indicated in the second commit requirement does not include a duplicate of the second transaction; and
commit the second transaction based at least in part on the determining that the second set of transactions indicated in the second commit requirement does not include a duplicate of the second transaction.

### Claim 32 (depends on 30)

The system as recited in claim 30, wherein the first transaction is rejected subsequent to determining, using at least a portion of the log, that the first transaction does not have a read-write conflict.

### Claim 33 (depends on 30)

The system as recited in claim 30, wherein the one or more computing devices include further instructions that upon execution on or across the one or more computing devices:
identify, at the cloud-based logging service, based at least in part on one or more constraint check delimiters associated with the first commit requirements, the first set of records as records to be analyzed with respect to the first commit requirement.

### Claim 34 (depends on 30)

The system as recited in claim 30, wherein the one or more computing devices include further instructions that upon execution on or across the one or more computing devices:
obtain, at the cloud-based logging service, a second commit requirement of a second transaction, wherein the second commit requirement is a transaction sequencing requirement which indicates that the second transaction is not to be committed if a third transaction has not been committed; and
reject, by the cloud-based logging service, the second transaction without determining whether the third transaction has been committed.

### Claim 35 (depends on 34)

The system as recited in claim 34, wherein the second transaction is rejected based at least in part on determining, using a portion of the log, that the second transaction has a read-write conflict with a transaction indicated in the log.

### Claim 36 (depends on 34)

The system as recited in claim 34, wherein the second transaction is rejected based at least in part on determining, using a portion of the log, that the second transaction is a duplicate of a transaction indicated in the log.

### Claim 37

One or more non-transitory computer-readable storage media storing program instructions that when executed on or across one or more processors:
obtain, at a cloud-based logging service, a first commit requirement of a first transaction;
determine, at the cloud-based logging service based at least in part on analysis of a first set of records stored in a log, a sequence in which a first set of other transactions indicated in the first commit requirement were committed; and
reject the first transaction by the cloud-based logging service based at least in part on the sequence.

### Claim 38 (depends on 37)

The one or more non-transitory computer-readable storage media as recited in claim 37, storing further instructions that when executed on or across one or more processors:
obtain, at the cloud-based logging service, a second commit requirement of a second transaction;
determine, at the cloud-based logging service based at least in part on analysis of a second set of records stored in the log, that a second set of other transactions indicated in the second commit requirement does not include a duplicate of the second transaction; and
commit the second transaction based at least in part on the determining that the second set of transactions indicated in the second commit requirement does not include a duplicate of the second transaction.

### Claim 39 (depends on 37)

The one or more non-transitory computer-readable storage media as recited in claim 37, wherein the first transaction is rejected subsequent to determining, using at least a portion of the log, that the first transaction does not have a read-write conflict.

### Claim 40 (depends on 37)

The one or more non-transitory computer-readable storage media as recited in claim 37, storing further instructions that when executed on or across one or more processors:
identify, at the cloud-based logging service, based at least in part on one or more constraint check delimiters associated with the first commit requirements, the first set of records as records to be analyzed with respect to the first commit requirement.

### Claim 41 (depends on 37)

The one or more non-transitory computer-readable storage media as recited in claim 37, storing further instructions that when executed on or across one or more processors:
obtain, at the cloud-based logging service, a second commit requirement of a second transaction, wherein the second commit requirement is a transaction sequencing requirement which indicates that the second transaction is not to be committed if a third transaction has not been committed; and
reject, by the cloud-based logging service, the second transaction without determining whether the third transaction has been committed.

### Claim 42 (depends on 41)

The one or more non-transitory computer-readable storage media as recited in claim 41, wherein the second transaction is rejected based at least in part on determining, using a portion of the log, that the second transaction has a read-write conflict with a transaction indicated in the log.
