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:35:00 UTC

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

     [ https://issues.apache.org/jira/browse/HDDS-5800?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

mingchao zhao updated HDDS-5800:
--------------------------------
    Attachment: screenshot-2.png

> 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
>            Priority: Major
>         Attachments: screenshot-2.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