[
https://issues.apache.org/jira/browse/HDDS-5867?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17517984#comment-17517984
]
mingchao zhao edited comment on HDDS-5867 at 4/6/22 9:24 AM:
-------------------------------------------------------------
{quote}Suppose there are following operations.
create key `/foo/bar/baz`
delete bucket `/foo/bar`
create bucket `/foo/bar`
commit key `/foo/bar/baz`
run open key cleanup service{quote}
[~ckj]It's an interesting scene. We can simulate this locally, for example by
adding a sleep to the key and then deleting the bucket.
was (Author: micahzhao):
{quote}Suppose there are following operations.
create key `/foo/bar/baz`
delete bucket `/foo/bar`
create bucket `/foo/bar`
commit key `/foo/bar/baz`
run open key cleanup service{quote}
It's an interesting scene. We can simulate this locally, for example by adding
a sleep to the key and then deleting the bucket.{quote}引用文本{quote}
> Update quota when deleting open keys
> ------------------------------------
>
> Key: HDDS-5867
> URL: https://issues.apache.org/jira/browse/HDDS-5867
> Project: Apache Ozone
> Issue Type: Sub-task
> Reporter: mingchao zhao
> Assignee: Kaijie Chen
> Priority: Major
> Labels: pull-request-available
>
> In HDDS-4120, we plan to delete expired data in Open key Tables. Request and
> Response are implemented in HDDS-4122.
> But we did not update UsedBytes and UsedNamespace in new request, we need to
> fix this problem.
> When these keys are deleted, the UsedBytes and UsedNamespace also need to be
> updated.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]