# US 2025/0094077 A1 · Method, device, and computer program product for recovering object in storage system

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

- Number: US 2025/0094077 A1
- Document ID: US20250094077A1
- Status: Published application
- Kind: A1
- Application number: 18/513,324
- Filed: 2023-11-17
- Published: 2025-03-20
- Earliest claimed: 2023-09-15
- Assignees: Dell Products L.P.
- Applicants: Dell Products L.P.
- Inventors: Shi Hu; Dong Wang; Vicky Huiqin Sheng; Alex Xingang Wang; Emily Kang; Dandan Zhang
- Web page: https://patentgrep.com/patent/US20250094077A1

## CPC

- G06F 3/0605: {by facilitating the interaction with a user or administrator}
- G06F 3/0655: {Vertical data movement, i.e. input-output transfer; data movement between one or more hosts and one or more storage devices}
- G06F 3/0604: {Improving or facilitating administration, e.g. storage management}
- G06F 3/0652: {Erasing, e.g. deleting, data cleaning, moving of data to a wastebasket}
- G06F 3/0673: {Single storage device}
- G06F 11/1469: {Backup restoration techniques}
- G06F 11/1471: involving logging of persistent data for recovery
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

The subject technology relates to recovering an object in a storage system. For instance, an object in a storage system is recovered by parsing object metadata associated with the object from a log in the storage system and storing the parsed object metadata in a storage space. In response to receiving a request to recover the object, the parsed object metadata from the storage space is retrieved. A linkage can be reestablished to a chunk corresponding to the object based on the retrieved object metadata. In this way, space reclamation is not impacted during recovery for the object, thereby increasing the space utilization. Furthermore, the time spent in the recovery process is reduced, and the success rate of object recovery is increased.

## Claims

### Claim 1

A method, comprising:
parsing, by a system comprising at least one processor, object metadata associated with the object from a log in the storage system, the parsing resulting in parsed object metadata;
storing the parsed object metadata in a storage space;
receiving a request to recover the object;
in response to receiving the request, retrieving the parsed object metadata from the storage space, the retrieving resulting in retrieved object metadata; and
reestablishing a linkage to a chunk corresponding to the object based on the retrieved object metadata.

### Claim 2 (depends on 1)

The method according to claim 1, wherein the object is a deleted object, and the method further comprising:
in response to receiving the request, determining whether a current time is within a time period between a first time when the deleted object was deleted and a second time when the chunk corresponding to the deleted object is reclaimed; and
one of performing recovery for the deleted object based on the current time being determined to be within the time period between the first time and the second time, or
returning an indicator of incapability of recovery based on the current time being determined to be after the second time.

### Claim 3 (depends on 1)

The method according to claim 1, wherein the object metadata comprises updates to the object metadata, and the updates to the object metadata indicate operations directed to the object, and wherein:
the updates to the object metadata are compressed into an updated object, and the updated object is stored in the storage space and managed according to a retention policy which indicates that the updated object is retained for a specified time period and is deleted in response to expiration of the specified time period.

### Claim 4 (depends on 3)

The method according to claim 3, wherein the parsing comprises parsing the updates to the object metadata from the log, and wherein the parsing the updates to the object metadata from the log comprises:
determining a frequency at which the updates to the object metadata are to be parsed from the log based on a system policy; and
parsing the updates to the object metadata from the log at the determined frequency.

### Claim 5 (depends on 4)

The method according to claim 4, wherein the log is distributed in a local area and a remote area, and the parsing the updates to the object metadata from the log comprises:
filtering out log entries satisfying a user policy from both the local area and the remote area.

### Claim 6 (depends on 5)

The method according to claim 5, wherein the user policy indicates at least one of:
replication group information;
a namespace;
a bucket name;
an object name;
a default metadata key and value; or
a custom metadata key and value.

### Claim 7 (depends on 5)

The method according to claim 5, wherein the storage space is a hash storage space, and the method further comprising:
based on an object table, indicating the object to be recovered, included in the request, retrieving the updates to the object metadata associated with the object from a metadata bucket in the hash storage space; and
inserting the updates to the object metadata in a user bucket to cover historic updates to the object metadata.

### Claim 8 (depends on 7)

The method according to claim 7, further comprising:
in response to the object table being updated, parsing the log only once based on a checkpoint identifying the parsing history to obtain newer updates to the object metadata.

### Claim 9 (depends on 1)

The method according to claim 1, wherein:
the storage space is in the storage system or another storage system different from the storage system.

### Claim 10 (depends on 1)

The method according to claim 1, further comprising:
verifying recovery for the object; and
generating a report to indicate whether the object has been recovered based on a result of recovery for the object.

### Claim 11

A device, comprising:
a processor; and
a memory coupled to the processor and having instructions stored thereon which, when executed by the processor, cause the device to perform actions, comprising:
parsing object metadata associated with an object from a log in the storage system, resulting in parsed object metadata;
storing the parsed object metadata in the storage space;
receiving a request to recover the object;
in response to receiving the request, retrieving the parsed object metadata from the storage space, resulting in retrieved object metadata; and
reestablishing a linkage to a chunk corresponding to the object based on the retrieved object metadata.

### Claim 12 (depends on 11)

The device according to claim 11, wherein the object is a deleted object, and the actions further comprise:
in response to receiving the request, determining whether a current time is within a time period between a first time when the deleted object was deleted and a second time when the chunk corresponding to the deleted object is reclaimed;
performing recovery for the deleted object based on the determining indicating that the current time is within the time period between the first time and the second time; and
returning an indicator of incapability of recovery based on the determining indicating that the current time is after the second time.

### Claim 13 (depends on 11)

The device according to claim 11, wherein the object metadata comprises updates that have been made to the object metadata, and the updates that have been made to the object metadata indicate operations that have been directed to the object, and wherein:
the updates that have been made to the object metadata are compressed into an updated object, and the updated object is stored in the storage space and managed according to a retention configuration which indicates that the updated object is to be retained for a preset time period and is to be deleted in response to expiration of the preset time period.

### Claim 14 (depends on 13)

The device according to claim 13, wherein the parsing comprises parsing the updates that have been made to the object metadata from the log, and wherein the parsing the updates that have been made to the object metadata from the log comprises:
determining a frequency at which the updates that have been made to the object metadata are to be parsed from the log based on a system configuration; and
parsing the updates that have been made to the object metadata from the log at the determined frequency.

### Claim 15 (depends on 14)

The device according to claim 14, wherein the log is distributed in a local area and a remote area, and the parsing the updates that have been made to the object metadata from the log comprises:
filtering out log entries satisfying a user configuration from both the local area and the remote area.

### Claim 16 (depends on 15)

The device according to claim 15, wherein the user configuration indicates at least one of:
replication group information;
a namespace;
a bucket name;
an object name;
a default metadata key and value; or
a custom metadata key and value.

### Claim 17 (depends on 15)

The device according to claim 15, wherein the storage space is a hash storage space, and the actions further comprise:
based on an object table indicating the object to be recovered included in the request, retrieving the updates that have been made to the object metadata associated with the object from a metadata bucket in the hash storage space; and
inserting the updates that have been made to the object metadata in a user bucket to cover historic updates to the object metadata.

### Claim 18 (depends on 17)

The device according to claim 17, wherein the actions further comprise:
in response to the object table being updated, parsing the log only once based on a checkpoint identifying the parsing history to obtain newer updates to the object metadata made after the updates.

### Claim 19

A computer program product that is stored on a non-transitory computer-readable storage medium and comprises computer-executable instructions which, when executed, cause a computer to perform operations, comprising:
parsing object metadata associated with an object from a log in the storage system;
storing the parsed object metadata in the storage space;
receiving a request to recover the object;
in response to receiving the request, retrieving the parsed object metadata from the storage space; and
reestablishing a linkage to a chunk corresponding to the object based on the retrieved object metadata.

### Claim 20 (depends on 19)

The computer program product according to claim 19, wherein the operations further comprise:
verifying recovery for the object; and
generating a report to indicate whether the object has been recovered based on a result of recovery for the object.
