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

Disk space leak after deleting Ozone files

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Duplicate
    • None
    • None
    • None
    • None

    Description

      Sometimes deleting Ozone files does not remove containers and block files at all. Even removing the bucket doesn't reclaim the space. I even forcefully closed all the containers.

      Due to HDDS-2534, there is no way to delete the dangling containers manually.

      What makes it even more perplexing is that some containers are no longer in SCM's record (ozone admin container list couldn't find the container) but the container replica are still (including block files and metadata) on the DNs.

      Looking at OM's rocksdb instance, keyTable is empty, bucketTable is empty. prefixKeyTable
      empty. But openKeyTable is not.

      The application that generated the data (teragen) was killed. I don't think the clients are still connected and the openKeyTable is not pruned after a day.

      Maybe we shouldn't prune openKeyTable when deleting the corresponding volume/bucket?

      Unfortunately, it happens from time to time but i can't reliably reproduce.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              weichiu Wei-Chiu Chuang
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: