[ 
https://issues.apache.org/jira/browse/HDDS-7152?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sumit Agrawal resolved HDDS-7152.
---------------------------------
    Fix Version/s: 1.4.0
       Resolution: Duplicate

> 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
>            Priority: Major
>             Fix For: 1.4.0
>
>
> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to