You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Aswin Shakil Balasubramanian (Jira)" <ji...@apache.org> on 2022/08/19 17:57:00 UTC
[jira] [Created] (HDDS-7152) usedBytes and usedNamespace not updated for FSO buckets
Aswin Shakil Balasubramanian created HDDS-7152:
--------------------------------------------------
Summary: usedBytes and usedNamespace not updated for FSO buckets
Key: HDDS-7152
URL: https://issues.apache.org/jira/browse/HDDS-7152
Project: Apache Ozone
Issue Type: Bug
Reporter: Aswin Shakil Balasubramanian
I tried creating a few keys in the FSO bucket. And deleted the keys using,
{code:java}
hdfs dfs -rm -r -skipTrash ofs://ozone1/vol1/fso/*
{code}
The {{usedNamespace}} and {{usedBytes}} are not updated after the deletion.
{code:java}
# 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
}
{code}
I also made sure DirectoryDeletingService and KeyDeletingService ran. This might cause inconsistency in bucket quota and bucket namespace quota.
--
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