主权项 |
1. A computer-implemented method for managing a set of blocks in a storage system, the method comprising:
establishing, in response to a set of write requests to the set of blocks, a set of expiration metadata for the set of blocks, wherein the set of expiration metadata includes both first expiration metadata for a first block of a first file and second expiration metadata for a second block of a second file, the set of blocks including both the first block and the second block and the first file being different from the second file, and wherein the first expiration metadata and the second expiration metadata include a respective retention policy based on a creation timestamp, a usage timestamp, and reference frequency information; spatially locating the first block and the second block in the storage system according to the respective retention policy; creating, based on the set of expiration metadata, an expiration stack for the set of blocks, the expiration stack organized based on a temporal feature that includes a common expiration trigger for the set of expiration metadata, the temporal feature based on a retention termination date and a creation date such that the expiration stack is organized using a first-in-first-out order based on the retention termination date and the creation date; comparing the first expiration metadata and the second expiration metadata to identify the common expiration trigger for the first and second blocks; monitoring for the common expiration trigger by pining entity systems for user status; determining accomplishment of the expiration trigger based on lack of activity of an electronic user account for a threshold period of time; and in response to determining accomplishment of the expiration trigger, processing an expiration operation on the set of blocks based on the expiration stack; wherein processing the expiration operation includes removing the set of blocks from the storage system in an order defined by the expiration stack, wherein the set of blocks are removed regardless of a state of a backup for the first file and the second file. |