[
https://issues.apache.org/jira/browse/HDDS-8016?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Siddharth Wagle reassigned HDDS-8016:
-------------------------------------
Assignee: Sumit Agrawal
> 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
>
> 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: [email protected]
For additional commands, e-mail: [email protected]