[
https://issues.apache.org/jira/browse/HDDS-11235?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated HDDS-11235:
----------------------------------
Labels: pull-request-available (was: )
> 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
>
> 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: [email protected]
For additional commands, e-mail: [email protected]