sadanand48 opened a new pull request #1922: URL: https://github.com/apache/ozone/pull/1922
## What changes were proposed in this pull request? Trash checkpoints are not getting deleted from multiple buckets . Since the trash emptier is multi-threaded and share the same fs instance,` ofsPathPrefix` which is used as an instance variable in `TrashOzoneFilesystem` is getting set my multiple threads at once (each thread operates on a bucket) and wrong bucket name is obtained . This change resolves this issue by removing ` ofsPathPrefix` as an instance variable for TrashOzoneFilesystem which is unneccessary. ## What is the link to the Apache JIRA https://issues.apache.org/jira/browse/HDDS-4825 ## How was this patch tested? Added unit tests where deletion from multiple buckets is ensured. ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
