# US 2010/0169284 A1 · Distributed transactional recovery system and method

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

- Number: US 2010/0169284 A1
- Document ID: US20100169284A1
- Status: Published application
- Kind: A1
- Application number: 12/347,545
- Filed: 2008-12-31
- Published: 2010-07-01
- Earliest claimed: 2008-12-31
- Assignees: Sap SE
- Inventors: Thomas H. Walter; Ralf Kuersch; Nikolai D. Tankov; Peter H. Peshev
- Web page: https://patentgrep.com/patent/US20100169284A1

## CPC

- G06F 11/2033: {switching over of hardware resources}
- G06F 11/1474: in transactions (updating of structured data in databases G06F16/23)
- G06F 11/2025: {using centralised failover control functionality}
- G06F 11/2035: {without idle spare hardware}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

In one embodiment the present invention includes a system for transaction recovery in a distributed computing environment. The system includes a transaction log server, application servers, and resource servers. The transaction log server stores a shared transaction log. The application servers implement a distributed transaction application and accesses the shared transaction log when performing a transaction using the distributed transaction application. The resource servers store data and that operate with the application servers to access the data according to the transaction. If one of the application servers fails, another application server assumes responsibility for a portion of the shared transaction log that was previously accessed by the failed application server.

## Claims

### Claim 1

A system for transaction recovery in a distributed computing environment, comprising:
a transaction log server that stores a shared transaction log;
a plurality of application servers that implements a distributed transaction application and that accesses the shared transaction log when performing a transaction using the distributed transaction application; and
a plurality of resource servers that stores data and that operates with the plurality of application servers to access the data according to the transaction,
wherein the plurality of application servers, the plurality of resource servers, and the transaction log server are implemented by a plurality of hardware devices that are connected via a network, and
wherein if an application server of the plurality of application servers becomes a failed application server, an active application server assumes responsibility for a portion of the shared transaction log that was previously accessed by the failed application server.

### Claim 2 (depends on 1)

The system of claim 1, wherein the transaction log server includes one of a file system and a database management system.

### Claim 3 (depends on 1)

The system of claim 1, wherein an application server of the plurality of application servers comprises:
a transaction manager that executes the transaction; and
a pending transaction list processor that accesses the shared transaction log.

### Claim 4 (depends on 1)

The system of claim 1, wherein a first application server of the plurality of application servers comprises:
a pending transaction list processor that accesses a first portion of the shared transaction log corresponding to the first application server, and that accesses the portion of the shared transaction log that was previously accessed by the failed application server.

### Claim 5 (depends on 1)

The system of claim 1, wherein the shared transaction log includes a plurality of logical transaction logs, wherein each of the plurality of logical transaction logs are associated with a corresponding one of the plurality of application servers and a corresponding run identifier.

### Claim 6 (depends on 1)

The system of claim 1, wherein an application server of the plurality of application servers comprises:
a pending transaction list that stores a plurality of pending transactions;
a pending transaction list processor that accesses the shared transaction log and the pending transaction list.

### Claim 7 (depends on 1)

The system of claim 1, wherein an application server of the plurality of application servers comprises:
a victim for deletion list that stores entries to be deleted from the shared transaction log; and
a transaction manager that adds a completed transaction from the shared transaction log to the victim for deletion list when the transaction manager has completed the completed transaction, and that deletes the entries in the victim for deletion list from the shared transaction log when the victim for deletion list reaches a defined size.

### Claim 8 (depends on 1)

The system of claim 1, wherein an application server of the plurality of application servers comprises:
a transaction manager that performs a group update to the shared transaction log.

### Claim 9

A computer-implemented method of transaction recovery in a distributed computing environment, comprising:
storing, with a transaction log server, a shared transaction log;
implementing, with a plurality of application servers, a distributed transaction application that accesses the shared transaction log when performing a transaction using the distributed transaction application; and
storing, with a plurality of resource servers, data, wherein the plurality of resource servers operates with the plurality of application servers to access the data according to the transaction,
wherein the plurality of application servers, the plurality of resource servers, and the transaction log server are implemented by a plurality of hardware devices that are connected via a network, and
wherein if an application server of the plurality of application servers becomes a failed application server, an active application server assumes responsibility for a portion of the shared transaction log that was previously accessed by the failed application server.

### Claim 10 (depends on 9)

The computer-implemented method of claim 9, wherein the shared transaction log includes a plurality of logical transaction logs, wherein each of the plurality of logical transaction logs are associated with a corresponding one of the plurality of application servers and a corresponding run identifier.

### Claim 11 (depends on 9)

The computer-implemented method of claim 9, wherein an application server of the plurality of application servers comprises:
a pending transaction list that stores a plurality of pending transactions;
a pending transaction list processor that accesses the shared transaction log and the pending transaction list.

### Claim 12 (depends on 9)

The computer-implemented method of claim 9, wherein an application server of the plurality of application servers comprises:
a victim for deletion list that stores entries to be deleted from the shared transaction log; and
a transaction manager that adds a completed transaction from the shared transaction log to the victim for deletion list when the transaction manager has completed the completed transaction, and that deletes the entries in the victim for deletion list from the shared transaction log when the victim for deletion list reaches a defined size.

### Claim 13 (depends on 9)

The computer-implemented method of claim 9, wherein an application server of the plurality of application servers comprises:
a transaction manager that performs a group update to the shared transaction log.

### Claim 14

A computer program embodied on a plurality of tangible storage media, comprising:
a shared transaction log, stored by a transaction log server;
a distributed transaction application, stored by a plurality of application servers, that accesses the shared transaction log when performing a transaction; and
data, stored by a plurality of resource servers, that is accessed by the distributed transaction application according to the transaction,
wherein the plurality of application servers, the plurality of resource servers, and the transaction log server are implemented by a plurality of hardware devices that are connected via a network, and
wherein if an application server of the plurality of application servers becomes a failed application server, an active application server assumes responsibility for a portion of the shared transaction log that was previously accessed by the failed application server.

### Claim 15 (depends on 14)

The computer program of claim 14, wherein the shared transaction log includes a plurality of logical transaction logs, wherein each of the plurality of logical transaction logs are associated with a corresponding one of the plurality of application servers and a corresponding run identifier.

### Claim 16 (depends on 14)

The computer program of claim 14, wherein an application server of the plurality of application servers comprises:
a pending transaction list that stores a plurality of pending transactions;
a pending transaction list processor that accesses the shared transaction log and the pending transaction list.

### Claim 17 (depends on 14)

The computer program of claim 14, wherein an application server of the plurality of application servers comprises:
a victim for deletion list that stores entries to be deleted from the shared transaction log; and
a transaction manager that adds a completed transaction from the shared transaction log to the victim for deletion list when the transaction manager has completed the completed transaction, and that deletes the entries in the victim for deletion list from the shared transaction log when the victim for deletion list reaches a defined size.

### Claim 18 (depends on 14)

The computer program of claim 14, wherein an application server of the plurality of application servers comprises:
a transaction manager that performs a group update to the shared transaction log.
