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

[jira] [Resolved] (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 ]

Bharat Viswanadham resolved HDDS-5800.
--------------------------------------
    Fix Version/s: 1.2.0
       Resolution: Fixed

> 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
>              Labels: pull-request-available
>             Fix For: 1.2.0
>
>         Attachments: screenshot-4.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.
>  
>  !screenshot-4.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