Delete data flow

All object copies are removed from the StorageGRID system when a client performs a delete operation or when the object's lifetime expires, triggering its automatic removal. There is a defined data flow for object deletion.

Deletion hierarchy

StorageGRID provides several methods for controlling when objects are retained or deleted. Objects can be delete by client request or automatically. StorageGRID always prioritizes any S3 Object Lock settings over client delete requests, which are prioritized over S3 bucket lifecycle and ILM placement instructions.

Data flow for client deletes


Client delete data flow
  1. The LDR service receives a delete request from the client application.
  2. The LDR service updates the metadata store so the object looks deleted to client requests, and instructs the ILM engine to remove all copies of object data.
  3. The object is removed from the system. The metadata store is updated to remove object metadata.

Data flow for ILM deletes

Automatic deletion data flow
  1. The ILM engine determines that the object needs to be deleted.
  2. The ILM engine notifies the metadata store. The metadata store updates object metadata so that the object looks deleted to client requests.
  3. The ILM engine removes all copies of the object. The metadata store is updated to remove object metadata.