[ 
https://issues.apache.org/jira/browse/HDDS-8016?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17692375#comment-17692375
 ] 

Wei-Chiu Chuang commented on HDDS-8016:
---------------------------------------

cc: [~sumitagrawal]

> 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
>            Priority: Major
>
> 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-unsubscr...@ozone.apache.org
For additional commands, e-mail: issues-h...@ozone.apache.org

Reply via email to