Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Duplicate
-
None
-
None
-
None
Description
I tried creating a few keys in the FSO bucket. And deleted the keys using,
hdfs dfs -rm -r -skipTrash ofs://ozone1/vol1/fso/*
The usedNamespace and usedBytes are not updated after the deletion.
# ozone sh bucket info vol1/fso { "metadata" : { }, "volumeName" : "vol1", "name" : "fso", "storageType" : "DISK", "versioning" : false, "usedBytes" : 1200000, "usedNamespace" : 3, "creationTime" : "2022-08-18T17:38:26.185Z", "modificationTime" : "2022-08-18T17:38:26.185Z", "quotaInBytes" : -1, "quotaInNamespace" : -1, "bucketLayout" : "FILE_SYSTEM_OPTIMIZED", "owner" : "om", "link" : false }
I also made sure DirectoryDeletingService and KeyDeletingService ran. This might cause inconsistency in bucket quota and bucket namespace quota.