[
https://issues.apache.org/jira/browse/HDDS-12841?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17944661#comment-17944661
]
Tanvi Penumudy commented on HDDS-12841:
---------------------------------------
Closing the ticket as {_}Won't Fix{_}, as this way we will be able to read OBS
buckets as part of the FS API. To completely eliminate the getBucketInfo calls
on the client-side, we need to perform server-side refactoring for validations
such as OzoneFSUtils#validateBucketLayout.
> Remove unnecessary getBucketInfo() call under OFS#readFile API
> --------------------------------------------------------------
>
> Key: HDDS-12841
> URL: https://issues.apache.org/jira/browse/HDDS-12841
> Project: Apache Ozone
> Issue Type: Improvement
> Reporter: Tanvi Penumudy
> Assignee: Tanvi Penumudy
> Priority: Major
> Labels: pull-request-available
>
> As of today, the readFile API for the OFS client makes two round trips to the
> Ozone Manager impacting performance:
> * First, it calls getBucketInfo() to fetch information about the bucket.
> * Then, it calls getKeyInfo() to fetch information about the actual file
> being read.
> However, the first call to obtain getBucketInfo() is not required and can
> safely be removed.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]