You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Sammi Chen (Jira)" <ji...@apache.org> on 2023/04/06 03:18:00 UTC
[jira] [Resolved] (HDDS-8016) Deleting a FSO directory does not udpate bucket usedBytes and usedNamespace
[ https://issues.apache.org/jira/browse/HDDS-8016?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sammi Chen resolved HDDS-8016.
------------------------------
Fix Version/s: 1.4.0
Resolution: Fixed
> Deleting a FSO directory does not udpate bucket usedBytes and usedNamespace
> ---------------------------------------------------------------------------
>
> Key: HDDS-8016
> URL: https://issues.apache.org/jira/browse/HDDS-8016
> Project: Apache Ozone
> Issue Type: Sub-task
> Reporter: Wei-Chiu Chuang
> Assignee: Sumit Agrawal
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.4.0
>
>
> We found that after deleting directories, bucket usedBytes and usedNamespace are not updated properly, meaning that even if deleting all the files, usedBytes and usedNamespace don't drop to zero.
> Seems easy to reproduce:
> {code}
> hdfs dfs -mkdir ofs://ozone1/vol1/bucket1/a
> hdfs dfs -put /etc/hosts ofs://ozone1/vol1/bucket1/a/
> ozone sh bucket info o3://ozone1/vol1/bucket1
> hdfs dfs -rm -r -skipTrash ofs://ozone1/vol1/bucket1/a
> ozone sh bucket info o3://ozone1/vol1/bucket1
> {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org