# US 2008/0270488 A1 · Fault recovery for transaction server

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

- Number: US 2008/0270488 A1
- Document ID: US20080270488A1
- Status: Published application
- Kind: A1
- Application number: 12/172,263
- Filed: 2008-07-13
- Published: 2008-10-30
- Earliest claimed: 2005-08-30
- Assignees: International Business Machines Corporation
- Inventors: Yohsuke Ozawa; Ryoh Neyama; Hisashi Miyashita; Mikio Takeuchi; Gaku Yamamoto
- Web page: https://patentgrep.com/patent/US20080270488A1

## CPC

- G06F 11/2046: {where the redundant components share persistent storage (G06F11/2043 takes precedence)}
- G06F 11/1471: involving logging of persistent data for recovery
- G06F 11/2041: {with more than one idle spare processing component}
- G06F 11/2097: {maintaining the standby controller/processing unit updated (initialisation or re-synchronisation thereof G06F11/1658 and subgroups)}
- G06F 2201/82: Solving problems relating to consistency
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A primary server transmits a write transaction to N backup devices. Each backup device records the write transaction to a local redo log stored at a high-performance storage and then transmits a notification to the primary device. When the primary device receives notifications from M of the N backup devices, it commits the write transaction, recording it to a low-performance storage. Once the write transaction has been recorded to the low-performance storage, the primary device requests that the backup devices delete their logs. If the primary device incurs a fault, one of the backup devices becomes the new primary device and determines which backup device has the newest local redo log. The backup device having the newest log sends it to the other backup devices, which update their local redo logs to the same state as the newest log. Thereafter, the new primary device is ready to resume transaction processing.

## Claims

### Claim 1

A method comprising:
receiving a write transaction by a primary device;
transmitting the write transaction from the primary device to N backup devices, where N is greater than one;
by each backup device,
recording the write transaction to a local redo log stored at a high-performance storage;
transmitting a notification to the primary device that the write transaction has been recorded;
after the primary device has received notifications from M of the N backup devices, where M is less than N,
committing the write transaction by the primary device; and,
after committing the write transaction by the primary device, recording the write transaction by the primary device to a low-performance storage, such that the write transaction is recorded by the primary device to the low-performance storage after the M of the N backup devices have each recorded the write transaction to the local redo log stored at the high-performance storage,
wherein the low-performance storage has a lower performance than a performance of each high-performance storage.

### Claim 2 (depends on 1)

The method of claim 1, further comprising receiving notification by the primary device that the write transaction has been recorded to the low-performance storage.

### Claim 3 (depends on 1)

The method of claim 1, further comprising requesting by the primary device to each backup device to delete the local redo log for the write transaction.

### Claim 4 (depends on 1)

The method of claim 1, wherein receiving the write transaction by the primary device comprises receiving the write transaction from a requesting device.

### Claim 5 (depends on 4)

The method of claim 4, wherein committing the write transaction by the primary device comprises transmitting a notification to the requesting device that the write transaction has been committed.

### Claim 6 (depends on 1)

The method of claim 1, further comprising, in response to the primary device incurring a fault,
one of the N backup devices becoming a new primary device, such that remaining of the N backup devices are N−1 backup devices;
the new primary device determining which of the N backup devices has a newest local redo log;
where the backup device having the newest local redo log is one of the N−1 backup devices,
the new primary device requesting the backup device having the newest local redo log to send the newest local redo log to all other of the N backup devices;
where the backup device having the newest local redo log is the new primary device,
the new primary device sending the newest local redo log to the N−1 backup devices;
by each of the N backup devices except the backup device having the newest local redo log,
receiving the newest local redo log from the backup device having the newest local redo log;
updating the local redo log to a same state as the newest local redo log received.

### Claim 7 (depends on 6)

The method of claim 6, wherein the new primary device determining which of the N backup devices has the newest local redo log comprises:
inquiring each of the N−1 backup devices as to newest commit data stored in the local redo log thereof, and,
comparing the newest commit data stored in the local redo log of each of the N−1 backup devices and newest commit data stored in the local redo log of the new primary device to determine which of the N backup devices has the newest local redo log.

### Claim 8 (depends on 6)

The method of claim 6, further comprising the new primary device resuming service such that the new primary device is capable of receiving and committing additional write transactions.

### Claim 9 (depends on 6)

The method of claim 6, wherein the method takes, between the one of the N backup devices becoming the new primary device and the local redo log of each of the N backup devices being updated to the same state as the newest local redo log, no greater than thirty seconds.

### Claim 10 (depends on 1)

The method of claim 1, wherein N is greater than or equal to three, and M is greater than or equal to two.

### Claim 11 (depends on 1)

The method of claim 1, the high-performance storage of each backup device is one of a non-volatile semiconductor memory and a volatile semiconductor memory, and the low-performance storage is a hard disk drive.

### Claim 12 (depends on 1)

The method of claim 1, wherein the high-performance storage of each backup device is an unreliable storage device, and the low-performance storage is a reliable storage device.

### Claim 13

A system comprising:
N backup devices, where N is greater than one, and each backup device has a high-performance storage;
a primary device to transmit a write transaction to the N backup devices for recording to local redo logs stored at the high-performance storages, and upon receiving notifications from M of the N backup devices that the write transaction has been recorded, where M is less than N, to commit the write transaction; and,
a low-performance storage, such that upon receiving the notifications from M of the N backup devices that the write transaction has been recorded, the primary device is to record the write transaction to the low-performance storage in order to commit the write transaction,
wherein the write transaction is recorded by the primary device to the low-performance storage after the write transaction has been committed by the primary device,
wherein the write transaction is recorded by the primary device to the low-performance storage after the M of the N backup devices have recorded the write transaction to the local redo logs stored at the high-performance storages,
and wherein the low-performance storage has a lower performance than a performance of each high-performance storage.

### Claim 14 (depends on 13)

The system of claim 13, wherein the primary device is further to request that the N backup devices delete the local redo logs upon receiving notification that the write transaction has been recorded to the low-performance storage.

### Claim 15 (depends on 13)

The system of claim 13, wherein upon the primary device incurring a fault, one of the N backup devices becomes a new primary device, and the N backup devices update the local redo logs stored at the high-performance storages to a same state as a newest local redo log.

### Claim 16

An article of manufacture comprising:
a computer-readable recordable data storage medium; and,
means in the medium for transmitting a write transaction to N backup devices for recording to local redo logs stored at high-performance storages thereof, for committing the write transaction upon receiving notifications from M of the N backup devices that the write transaction has been recorded, and for recording the write transaction to a low-performance storage upon receiving the notifications from M of the N backup devices that the write transaction has been recorded,
where N is greater than one and M is less than N.
wherein the write transaction is recorded to the low-performance storage after the write transaction has been committed,
wherein the write transaction is recorded to the low-performance storage after the M of the N backup devices have recorded the write transaction to the local redo logs stored at the high-performance storages,
and wherein the low-performance storage has a lower performance than a performance of each high-performance storage.

### Claim 17 (depends on 16)

The article of manufacture of claim 16, wherein the means is further for requesting that the N backup devices delete the local redo logs, upon receiving notification that the write transaction has been recorded to the low-performance storage.
