Backup and restore for a hybrid transactional and analytical processing (HTAP) database
AssigneeSnowflake Inc.
InventorsStephen R. Atherton, Cristian Diaconu, Hui Liu, Joshua Slocum, Evan J. Tschannen
Life of this patent
Estimating the term…
Abstract
The subject technology initiates a reinstallation process of a key-value storage device and locking the key-value storage device. The subject technology performs a bootstrap process for a blob manager and a blob worker. The subject technology performs a restoration process of a storage server. The subject technology applies a set of mutation logs to the storage server. The subject technology unlocks the key-value storage device and enabling network traffic for the key-value storage device.
Claims16
A system comprising:
- at least one hardware processor;
- and
- a memory storing instructions that cause the at least one hardware processor to perform operations comprising:
- initiating a reinstallation process of a key-value storage device and locking the key-value storage device;
- performing a bootstrap process for a blob manager and a blob worker, the performing the bootstrap process comprising performing a read operation of a granule manifest from a blob storage device, the granule manifest corresponding to a latest granule manifest that is readable from the blob storage device;
- performing a restoration process of a storage server, the performing the restoration process comprises:
- determining, using the granule manifest, a key range of a set of granule files, each location of each granule file from the set of granule files, and a set of credentials for accessing the set of files;
- fetching, from the blob storage device, the set of granule files based at least in part on the key range of the set of granule files;
- and
- storing the set of granule files on the storage server, each granule file of the set of granule files corresponding a first maximum version of each granule file as stored on the blob storage device;
- applying a set of mutation logs to the storage server;
- and
- unlocking the key-value storage device and enabling network traffic for the key-value storage device.
A method comprising:
- initiating a reinstallation process of a key-value storage device and locking the key-value storage device;
- performing a bootstrap process for a blob manager and a blob worker, the performing the bootstrap process comprising performing a read operation of a granule manifest from a blob storage device, the granule manifest corresponding to a latest granule manifest that is readable from the blob storage device;
- performing a restoration process of a storage server, the performing the restoration process comprises:
- determining, using the granule manifest, a key range of a set of granule files, each location of each granule file from the set of granule files, and a set of credentials for accessing the set of files;
- fetching, from the blob storage device, the set of granule files based at least in part on the key range of the set of granule files;
- and
- storing the set of granule files on the storage server, each granule file of the set of granule files corresponding a first maximum version of each granule file as stored on the blob storage device;
- applying a set of mutation logs to the storage server;
- and
- unlocking the key-value storage device and enabling network traffic for the key-value storage device.
A non-transitory computer-storage medium comprising instructions that, when executed by one or more processors of a machine, configure the machine to perform operations comprising:
- initiating a reinstallation process of a key-value storage device and locking the key-value storage device;
- performing a bootstrap process for a blob manager and a blob worker, the performing the bootstrap process comprising performing a read operation of a granule manifest from a blob storage device, the granule manifest corresponding to a latest granule manifest that is readable from the blob storage device;
- performing a restoration process of a storage server, the performing the restoration process comprises:
- determining, using the granule manifest, a key range of a set of granule files, each location of each granule file from the set of granule files, and a set of credentials for accessing the set of files;
- fetching, from the blob storage device, the set of granule files based at least in part on the key range of the set of granule files;
- and
- storing the set of granule files on the storage server, each granule file of the set of granule files corresponding a first maximum version of each granule file as stored on the blob storage device;
- applying a set of mutation logs to the storage server;
- and
- unlocking the key-value storage device and enabling network traffic for the key-value storage device.
Dependencies are inferred from the claim text.