You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Kaijie Chen (Jira)" <ji...@apache.org> on 2022/06/22 02:24:00 UTC

[jira] [Comment Edited] (HDDS-6769) Simplify DeleteOpenKeysRequest proto

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

Kaijie Chen edited comment on HDDS-6769 at 6/22/22 2:23 AM:
------------------------------------------------------------

It turns out that we still need volume name and bucket name to acquire the bucket lock.

And it's better to batch operations for keys in the same bucket.

So this is not a problem.


was (Author: ckj996):
It turns out that we still need volume name and bucket name to acquire the bucket lock.

And it's better to batch operations for keys in the same bucket.

So this simplification is not needed.

> Simplify DeleteOpenKeysRequest proto
> ------------------------------------
>
>                 Key: HDDS-6769
>                 URL: https://issues.apache.org/jira/browse/HDDS-6769
>             Project: Apache Ozone
>          Issue Type: Sub-task
>            Reporter: Kaijie Chen
>            Assignee: Kaijie Chen
>            Priority: Major
>
> Since we are using the name field of OpenKey proto as dbOpenKeyName in HDDS-6491, and the volume and bucket field is not needed for updating quota in HDDS-6556 and HDDS-6563.
> We can simplify the DeleteOpenKeysRequest proto to just include repeated string of dbOpenKeyName.
> And we will need an additional BucketLayoutProto field for deleting (FSO) keys in OpenFileTable.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org