# US 2008/0313496 A1 · Gracefully degradable versioned storage systems

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

- Number: US 2008/0313496 A1
- Document ID: US20080313496A1
- Status: Published application
- Kind: A1
- Application number: 11/811,780
- Filed: 2007-06-12
- Published: 2008-12-18
- Earliest claimed: 2007-06-12
- Assignees: Microsoft Corporation
- Inventors: Vijayan Prabhakaran; Venugopalan Ramasubramanian; Lidong Zhou; Roy Levin; Chandramohan A. Thekkath
- Web page: https://patentgrep.com/patent/US20080313496A1

## CPC

- G06F 11/1402: {Saving, restoring, recovering or retrying}
- G06F 11/1438: {Restarting or rejuvenating}
- G06F 11/1482: using middleware or operating system [OS] functionalities
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Multiple versions of data on different sets of machines allow a system to degrade gracefully even when experiencing excessive failures. When excessive failures cause the latest versions to be unavailable, the system becomes degraded, but still offers an old version if available. A most recent coherent set of the available older versions is found and provided. The degree of degradation increases gradually as the system experiences more and more failures. Graceful degradation is desirably complementary to fault tolerance.

## Claims

### Claim 1

A method for use in a distributed storage system, the method comprising:
maintaining a plurality of versions of a data item including a latest version and an older version;
entering a degraded state on the distributed storage system; and
if the latest version of the data item is unavailable in the degraded state, then using the older version of the data item during processing in the degraded state.

### Claim 2 (depends on 1)

The method of claim 1, wherein entering the degraded state occurs when a number of failures exceeds a threshold.

### Claim 3 (depends on 2)

The method of claim 2, further comprising using a fault tolerance mechanism associated with the distributed system to determine when the number of failures exceeds the threshold.

### Claim 4 (depends on 1)

The method of claim 1, further comprising storing the versions of the data item prior to entering the degraded state.

### Claim 5 (depends on 1)

The method of claim 1, further comprising providing an indication that the processing of the data item in the degraded state is based on the older version of the data item.

### Claim 6 (depends on 1)

The method of claim 1, further comprising leaving the degraded state and returning to a normal operating state after the distributed storage system recovers.

### Claim 7 (depends on 1)

The method of claim 1, wherein the plurality of versions of the data item include a plurality of older versions of the data item, each older version being associated with a different time based on storage of that older version of the data item.

### Claim 8 (depends on 7)

The method of claim 7, wherein if the latest version of the data item is unavailable in the degraded state, then using the latest available older version of the data item during processing in the degraded state.

### Claim 9 (depends on 7)

The method of claim 7, wherein the degraded state has a degree of degradation based on the version of the data item that is used during processing in the degraded state.

### Claim 10 (depends on 1)

The method of claim 1, wherein a plurality of consistent degraded views of the distributed storage system is maintained during processing in the degraded state.

### Claim 11 (depends on 10)

The method of claim 10, wherein the consistent degraded views are maintained using at least one of a timestamp-based design, a dependency-based design, or a weak-dependency-based design.

### Claim 12 (depends on 1)

The method of claim 1, further comprising receiving additional versions of the data item while in the degraded state, branching the additional versions while in the degraded state using a plurality of branches, and merging the branches while in a normal operating state after the distributed storage system recovers.

### Claim 13 (depends on 1)

The method of claim 1, wherein maintaining the plurality of versions of the data item comprises storing a timestamp for each version of the data item as metadata.

### Claim 14

A distributed storage system comprising:
a versioned data store comprising a plurality of data storage devices across which a plurality of versions of a data item are stored, including a latest version and older versions; and
a processor that determines whether to enter a degraded state, and during processing in the degraded state, determines whether to use the latest version of the data item or one of the older versions of the data item.

### Claim 15 (depends on 14)

The system of claim 14, further comprising a fault tolerance mechanism, wherein the degraded state is entered when a number of failures in the system exceeds the capability of the fault tolerance mechanism.

### Claim 16 (depends on 14)

The system of claim 14, further comprising an index server that maintains an index that tracks the versions of the data item.

### Claim 17 (depends on 14)

The system of claim 14, further comprising an output device for providing an indication to a user or a client that the processing of the data item in the degraded state is based on one of the older versions of the data item.

### Claim 18

A method for use in a distributed storage system, the method comprising:
receiving an update to a version of a data item that is stored on a storage server;
creating a new version of the data item; and
storing the new version of the data item with metadata on a different storage server, the metadata for use to maintain consistent degraded views of the distributed storage system during processing in the degraded state.

### Claim 19 (depends on 18)

The method of claim 18, wherein the metadata corresponds to at least one of a timestamp-based design, a dependency-based design, or a weak-dependency-based design.

### Claim 20 (depends on 18)

The method of claim 18, further comprising determining whether the version of the data item that is stored on the storage server and the new version are coherent.
