sumitagrawl opened a new pull request, #4972: URL: https://github.com/apache/ozone/pull/4972
## What changes were proposed in this pull request? - state DELETED is added in container file before container delete current steps: ``` 1. Move container directory to tmp deleted containers directory on the same file system (atomic). 2. Delete DB entries 3. Delete container from tmp directory. ``` new steps: ``` 1. Mark container state as DELETED in container yaml file 2. Move container directory to tmp deleted containers directory on the same file system (atomic). 3. Delete DB entries 4. Delete container from tmp directory. So during startup, If any container in DELETED state, move to temp Directory container present in active directory, and state is not deleted, no need delete from DB, else delete as part of cleanup ``` ## What is the link to the Apache JIRA https://issues.apache.org/jira/browse/HDDS-8770 ## How was this patch tested? - TODO UT after [HDDS-8771. Refactor volume level tmp directory for generic usage.](https://github.com/apache/ozone/pull/4838/files#top) -- 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]
