You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Wei-Chiu Chuang (Jira)" <ji...@apache.org> on 2023/02/22 21:36:00 UTC
[jira] [Created] (HDDS-8016) Deleting a FSO directory does not udpate bucket usedBytes and usedNamespace
Wei-Chiu Chuang created HDDS-8016:
-------------------------------------
Summary: 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
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