Tanvi Penumudy created HDDS-12841:
-------------------------------------
Summary: 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
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 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]