swamirishi opened a new pull request, #8554: URL: https://github.com/apache/ozone/pull/8554
## What changes were proposed in this pull request? Currently SnapshotDeletingService waits for KeyDeletingService & DirectoryDeletingService to finish before it starts to move entries from the deleted snapshot to the next snapshot in the chain. With ReclaimableFilter implementation both KeyDeletingService & DirectoryDeletingService are going to hold read locks on the previous snapshot in the chain. Now before processing a deleted snapshot the snapshot deleting service can just acquire write locks on the deleted snapshot and next snapshot in the chain which would prevent any parallel instance of KeyDeletingService or DirectoryDeletingService running on an inconsistent state of the snapshot. ## What is the link to the Apache JIRA https://issues.apache.org/jira/browse/HDDS-13035 ## How was this patch tested? Additional unit tests and integration 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]
