Patent ID: 11966361
Assignee: NETAPP, INC.
Field: nan (nan)
Classification: CPC nan | IPC G  H

Claim 12:
13. The non-transitory machine readable medium of claim 9, wherein the instructions cause the machine to:
in response to receiving a request to delete the snapshot for the data collection, mark the snapshot for deletion;
in response to a reclamation threshold being satisfied for the data collection, identify identifiers of snapshots marked for deletion; and
for each selected snapshot marked for deletion:
retrieve a first set of records from the key-value store for a valid snapshot subsequent a selected snapshot using a first identifier of the valid snapshot as a first key prefix;
retrieve a second set of records from the key-value store for the selected snapshot using a second identifier of the selected snapshot as a second key prefix;
transfer ownership of valid inode and directory records of the selected snapshot to the valid snapshot;
determine valid data ranges of the selected snapshot and transfer the valid data ranges to the valid snapshot; and
delete the selected snapshot.