Reconstructing a state of a file system using a preserved snapshot
AssigneeHewlett Packard Enterprise Development LP
InventorsBoris Zuckerman, Vitaly M. Oratovsky
Life of this patent
Estimating the term…
Abstract
A technique includes receiving a request to restore a state of a file system. The request defines a rollback period, which extends from a restoration time that is specified by the request to a time at which the request was made. The technique includes reconstructing a state of the file system in response to a query using a preserved snapshot of the file system. The reconstruction including reconstructing the state at an arbitrary query time based at least in part on a dynamically inheritable attribute of an entity stored on the file system and the rollback period.
Claims21
A method comprising:
- storing entities of a hierarchically arranged distributed file system in a storage system;
- at run-time of the file system, setting a value of a dynamically inheritable attribute of a particular entity of the entities, wherein the dynamically inheritable attribute relates to a preserved snapshot of the file system;
- receiving a request to restore a state of the file system, the request defining a rollback period extending from a restoration time specified by the request to a time at which the request was made;
- and
- in response to a query for the particular entity,
- reconstructing a state of the file system at an arbitrary query time using the preserved snapshot and based at least in part on the dynamically inheritable attribute and the rollback period,
- determining whether a timing marker for the query indicates a time within the rollback period, and
- selectively filtering out the particular entity from results for the query based at least in part on the determining and the dynamically inheritable attribute.
A distributed storage system comprising:
- a plurality of segment servers to manage respective segments of file system entities of a distributed file system, each entity of the file system entities being associated with a dynamically inheritable attribute related to a snapshot of the file system;
- an entry point server to submit requests to access the distributed file system, the entry point server to:
- receive a request to restore a state of the file system, the request defining a rollback period extending from a restoration time specified by the request to a time at which the request was made, and
- in response to a query,
- reconstruct a state of the file system at an arbitrary query time using the snapshot and based at least in part on the dynamically inheritable attributes and the rollback period,
- determine a determination of whether a timing marker for the query indicates a time within the rollback period, and
- selectively filter out an entity stored on the file system from results for the query based at least in part on a dynamically inheritable attribute of the entity and the determination.
An article comprising a non-transitory storage medium storing instructions that when executed by a processor-based system cause a distributed storage system to:
- in response to a restore request at a first time, restore entities of the distributed storage system based on a snapshot of the entities associated with a second time;
- receive a request to restore a state of a file system, the request defining a rollback period extending from a restoration time specified by the request to a time at which the request was made;
- and
- in response to a query to the file system,
- reconstruct a state of the file system at an arbitrary query time based at least in part on a dynamically inheritable attribute of an entity stored on the file system and the rollback period,
- determine a determination of whether a timing marker for the query indicates a time within the rollback period, and
- selectively filter out the entity based at least in part on the determination and the dynamically inheritable attribute.
Dependencies are inferred from the claim text.