Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-4023

Delete closed container after all blocks have been deleted

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.1.0
    • None

    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,

                         Container key count &size 0                    Container replica count 0
      CLOSED       ---------------------------------> DELETING  --------------------------------> DELETED
                         DELETE event                                           CLEANUP event
      
      

      Currently when Container is in DELETED state, it still exists in SCM memory and DB.

      Attachments

        Issue Links

          Activity

            People

              Sammi Sammi Chen
              Sammi Sammi Chen
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: