Mohammad Arafat Khan created HDDS-7994:
------------------------------------------
Summary: Expose information on keys marked for deletion and moved
to the DeletedTable
Key: HDDS-7994
URL: https://issues.apache.org/jira/browse/HDDS-7994
Project: Apache Ozone
Issue Type: Improvement
Components: Ozone Recon
Reporter: Mohammad Arafat Khan
* When a key is deleted by a user, it is not immediately removed from the OM's
metadata. Instead, the key is marked for deletion and moved to the
{{{}DeletedTable{}}}, where it remains until it is permanently removed by the
{*}{{KeyDeletingService}}{*}. The *{{KeyDeletingService}}* sends requests to
the Storage Container Manager (SCM) to delete the corresponding data blocks
associated with the keys. If the deletion is successful, the keys are removed
from the OM's metadata.
* Once Recon detects the deletion, it updates its metadata store to reflect
the change. This ensures that the deleted key is not included in any future
searches or queries against the metadata store.
* Recon also retains a record of the deleted key in the *{{DeletedTable}}* in
its own OM-metadata store. This allows administrators to query the metadata
store for deleted keys and to see when they were deleted.
* This information can be useful for {*}auditing{*}, {*}compliance{*}, and
*troubleshooting* purposes.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]