[ https://issues.apache.org/jira/browse/HDDS-4023?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sammi Chen updated HDDS-4023: ----------------------------- Description: One of our use case is customers delete old objects and files regularly. Once the old files are deleted, there are many containers with no user data. The goal of this task is delete all these containers to reduce the metadata footprint of both dn and scm. Here is the container state machine involved, {noformat} Container key count &size 0 Container replica count 0 CLOSED ---------------------------------> DELETING --------------------------------> DELETED DELETE event CLEANUP event {noformat} Currently when Container is in DELETED state, it still exists in SCM memory and DB. was: One of our use case is customers delete old objects and files regularly. Once the old files are deleted, there are many containers with no user data. The goal of this task is delete all these containers to reduce the metadata footprint of both dn and scm. Here is the container state machine involved, {noformat} Container key count &size 0 Container replica count 0 CLOSED ---------------------------------> DELETING --------------------------------> DELETED DELETE event CLEANUP event {noformat} Currently when Container is in DELETED state, it still exists in SCM memory and DB. > Delete closed container after all blocks have been deleted > ---------------------------------------------------------- > > Key: HDDS-4023 > URL: https://issues.apache.org/jira/browse/HDDS-4023 > Project: Hadoop Distributed Data Store > Issue Type: Improvement > Reporter: Sammi Chen > Assignee: Sammi Chen > Priority: Major > Labels: pull-request-available > > One of our use case is customers delete old objects and files regularly. > Once the old files are deleted, there are many containers with no user data. > The goal of this task is delete all these containers to reduce the metadata > footprint of both dn and scm. > Here is the container state machine involved, > {noformat} > Container key count &size 0 Container > replica count 0 > CLOSED ---------------------------------> DELETING > --------------------------------> DELETED > DELETE event > CLEANUP event > {noformat} > Currently when Container is in DELETED state, it still exists in SCM memory > and DB. -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: ozone-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: ozone-issues-h...@hadoop.apache.org