You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "mingchao zhao (Jira)" <ji...@apache.org> on 2021/09/29 15:32:00 UTC

[jira] [Created] (HDDS-5800) Bucket usedByte was incorrect when deleting duplicate keys.

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: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org