mingchao zhao created HDDS-5800:
-----------------------------------

             Summary: Bucket usedByte was incorrect when deleting duplicate 
keys.
                 Key: HDDS-5800
                 URL: https://issues.apache.org/jira/browse/HDDS-5800
             Project: Apache Ozone
          Issue Type: Bug
            Reporter: mingchao zhao
            Assignee: mingchao zhao
         Attachments: image-2021-09-29-23-27-18-060.png

When we repeatedly write a key and then delete the key. We should count all 
versions of the key and subtract them from bucket usedBytes.

Previously we only subtracted the key size of the last version, which resulted 
in inaccurate bucket usedBytes.
 
!image-2021-09-29-23-27-18-060.png! 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to