SaketaChalamchala opened a new pull request, #8964: URL: https://github.com/apache/ozone/pull/8964
## What changes were proposed in this pull request? On snapshot create we remove deleted keys, directories and renamed keys that are in the snapshot scope from AOS because those deletes and renames will now be handled as part of snapshot reclamation. The AOS deletes are done by iterating the deletedTable, deletedDirectoryTable and snapshotRenamedTable, filtering keys that belong to the snapshotted bucket prefix and removing them from the AOS delete space. Proposed optimization will use the `deleteRangeWithBatch` API provided by https://github.com/apache/ozone/pull/8774 to remove keys with the bucket prefix. - Starting key is the bucket prefix. Starting key is inclusive - Ending key is the smallest key that is lexicographically higher than the starting key. Ending key is exclusive. ## What is the link to the Apache JIRA https://issues.apache.org/jira/browse/HDDS-13252 ## How was this patch tested? Unit tests. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
