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

Tanvi Penumudy resolved HDDS-12841.
-----------------------------------
    Resolution: Won't Fix

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

Reply via email to