Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-7994

Expose information on keys marked for deletion and moved to the DeletedTable

    XMLWordPrintableJSON

Details

    Description

      • 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.

      The Jira is coming out of the following discussion :- https://github.com/apache/ozone/pull/4266#issuecomment-1433096670

      Attachments

        Issue Links

          Activity

            People

              arafat2198 Mohammad Arafat Khan
              arafat2198 Mohammad Arafat Khan
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: