# US 2015/0149823 A1 · Methods for preserving state across a failure and devices thereof

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

- Number: US 2015/0149823 A1
- Document ID: US20150149823A1
- Status: Published application
- Kind: A1
- Application number: 14/316,273
- Filed: 2014-06-26
- Published: 2015-05-28
- Earliest claimed: 2013-11-22
- Assignees: NetApp, Inc.
- Applicants: NetApp, Inc.
- Inventors: Brian McCarthy; Donna Duffy; Joseph CaraDonna
- Web page: https://patentgrep.com/patent/US20150149823A1

## CPC

- G06F 11/1471: involving logging of persistent data for recovery
- G06F 11/0712: {in a virtual computing platform, e.g. logically partitioned systems}
- G06F 11/1438: {Restarting or rejuvenating}
- G06F 11/1441: {Resetting or repowering}
- G06F 2201/805: Real-time
- G06F 2201/815: Virtual
- G06F 2201/85: Active fault masking without idle spares
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A method, non-transitory computer readable medium, and host device that receives one or more transactions. A state is stored in a transaction log in a volatile memory wherein the state includes information associated with the one or more transactions. The transaction log is stored in a stable storage device when a failure is determined to a have occurred. The transaction log can then be retrieved and replayed subsequent to a reboot. Thereby, state can be preserved and transactions pending, but not yet committed to storage server devices, can be replayed and proceed with minimal or no impact on the client devices originating the write transactions.

## Claims

### Claim 1

A method for preserving state across a failure, the method comprising:
receiving, with a virtual storage controller executed by a host device, one or more transactions;
storing, with the virtual storage controller, a state in a transaction log in a volatile memory, the state comprising information associated with the one or more transactions;
determining, with the virtual storage controller, when a failure has occurred; and
storing, with the virtual storage controller, the transaction log in a stable storage device when the failure is determined to a have occurred.

### Claim 2 (depends on 1)

The method of claim 1 wherein the host device includes the volatile memory and the storing further comprises storing the transaction log in the volatile memory of the host device.

### Claim 3 (depends on 1)

The method of claim 1 further comprising retrieving, with the virtual storage controller, the transaction log from the stable storage device subsequent to detecting a successful reboot.

### Claim 4 (depends on 3)

The method of claim 3 further comprising replaying, with the storage controller device, one or more write transactions of the one or more transactions included in the retrieved transaction log.

### Claim 5 (depends on 1)

The method of claim 1 wherein the failure is a software failure associated with an operating system of the virtual storage controller.

### Claim 6

A non-transitory computer readable medium having stored thereon instructions for preserving state across a failure comprising machine executable code which when executed by a processor, causes the processor to perform steps comprising:
receiving one or more transactions;
storing a state in a transaction log in a volatile memory, the state comprising information associated with the one or more transactions;
determining when a failure has occurred; and
storing the transaction log in a stable storage device when the failure is determined to a have occurred.

### Claim 7 (depends on 6)

The medium of claim 6 wherein a host device includes the volatile memory and the storing further comprises storing the transaction log in the volatile memory of the host device.

### Claim 8 (depends on 6)

The medium of claim 6 wherein the machine executable code when executed by the processor further causes the processor to perform steps further comprising retrieving the transaction log from the stable storage device subsequent to detecting a successful reboot.

### Claim 9 (depends on 8)

The medium of claim 8 wherein the machine executable code when executed by the processor further causes the processor to perform steps further comprising replaying one or more write transactions of the one or more transactions included in the retrieved transaction log.

### Claim 10 (depends on 6)

The medium of claim 6 wherein the failure is a software failure associated with an operating system of a virtual storage controller.

### Claim 11 (depends on 6)

The medium of claim 6 wherein the plurality of transactions are received at a virtual storage controller executed by a host device and the storing the state, determining, and storing the transaction log in a non-volatile memory steps are performed by the virtual storage controller.

### Claim 12

A host device, comprising:
a processor coupled to a memory and configured to execute programmed instructions stored in the memory to generate a virtual storage controller configured to perform steps comprising:
receiving one or more transactions;
storing a state in a transaction log in a volatile memory, the state comprising information associated with the one or more transactions;
determining when a failure has occurred; and
storing the transaction log in a stable storage device when the failure is determined to a have occurred.

### Claim 13 (depends on 12)

The device of claim 12 wherein the memory is the volatile memory and the storing further comprises storing the transaction log in the volatile memory of the host device.

### Claim 14 (depends on 12)

The device of claim 12 wherein the virtual storage controller is further configured to perform steps further comprising retrieving the transaction log from the stable storage device subsequent to detecting a successful reboot.

### Claim 15 (depends on 14)

The device of claim 14 wherein the virtual storage controller is further configured to perform steps further comprising replaying one or more write transactions of the one or more transactions included in the retrieved transaction log.

### Claim 16 (depends on 12)

The device of claim 12 wherein the virtual storage controller is further configured to perform steps further comprising removing one or more entries of the transaction log as one or more write transactions associated with the one or more entries are committed.
