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

Bucket usedBytes inaccurate because of preallocated blocks

    XMLWordPrintableJSON

Details

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

    Description

      Currently, for every createKey request, OM will preallocate a block for the key and returned in the createKey response. When commit empty key, client will filter out the block location which doesn't have data, so OM doesn't have the chance to remove the preallocated block size from bucket's usedbytes statitics.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: