Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
Description
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:
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
Attachments
Issue Links
- links to