| CPC G06F 16/128 (2019.01) [G06F 16/164 (2019.01); G06F 16/1752 (2019.01); G06F 16/1844 (2019.01)] | 20 Claims |

|
1. A method comprising:
storing a file-to-chunk mapping in file system metadata, wherein the file-to-chunk mapping maps a file of a distributed file system to a first set of data chunks and a first file system generation identifier (ID) associated with a first time at which a first snapshot of the distributed file system was obtained;
detecting, after the first time, a trigger event that indicates that the first snapshot is set to expire; and
deleting, based at least in part on the trigger event, a second set of data chunks from the distributed file system based at least in part on the trigger event and further based at least in part on the second set of data chunks being associated with the first file system generation ID and being excluded from the file-to-chunk mapping in the file system metadata, wherein the first set of data chunks remain in the distributed file system after the first snapshot expires based at least in part on the first set of data chunks being included in the file-to-chunk mapping in the file system metadata.
|