ivandika3 commented on PR #8909: URL: https://github.com/apache/ozone/pull/8909#issuecomment-3205415482
> I plan to have a next patch to check and delete only keys, ignore the directories, so we will not incorrectly delete any files under a nested directory, where directory is expired according to it's modification time, but files are not. The drawback is there will be a few empty directories left there I think currently this is the only safest way I can think of. Unless we update the modificationTime for all the parent directories during key updates (which will be very expensive), we might risk deleting child keys / directories. -- 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]
