You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "István Fajth (Jira)" <ji...@apache.org> on 2024/07/26 22:00:00 UTC

[jira] [Reopened] (HDDS-11235) Spare InfoBucket RPC call in FileSystem#mkdir() call

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

István Fajth reopened HDDS-11235:
---------------------------------

> Spare InfoBucket RPC call in FileSystem#mkdir() call
> ----------------------------------------------------
>
>                 Key: HDDS-11235
>                 URL: https://issues.apache.org/jira/browse/HDDS-11235
>             Project: Apache Ozone
>          Issue Type: Improvement
>          Components: Ozone Client
>            Reporter: István Fajth
>            Assignee: István Fajth
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.5.0
>
>
> In BasicRootedOzoneFileSystem#mkdir() method we use getBucket in all circumstances, as that call is also used to create the bucket if it does not exists.
> However, this results in a GetBucketInfo RPC call every time, even when the bucket exists, and we create a key with this call. In this latter case we should not call getBucket() but use the RPCClient (ClientProtocol) directly using the bucket name to create the directory.



--
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