You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "tanvipenumudy (via GitHub)" <gi...@apache.org> on 2025/04/15 07:19:23 UTC

[PR] HDDS-12841. Remove unnecessary getBucketInfo() call under OFS#readFile API [ozone]

tanvipenumudy opened a new pull request, #8288:
URL: https://github.com/apache/ozone/pull/8288

   ## What changes were proposed in this pull request?
   
   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.
   
   ## What is the link to the Apache JIRA
   
   https://issues.apache.org/jira/browse/HDDS-12841
   
   ## How was this patch tested?
   
   Existing test-suite


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org


Re: [PR] HDDS-12841. Remove unnecessary getBucketInfo() call under OFS#readFile API [ozone]

Posted by "tanvipenumudy (via GitHub)" <gi...@apache.org>.
tanvipenumudy closed pull request #8288: HDDS-12841. Remove unnecessary getBucketInfo() call under OFS#readFile API
URL: https://github.com/apache/ozone/pull/8288


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org


Re: [PR] HDDS-12841. Remove unnecessary getBucketInfo() call under OFS#readFile API [ozone]

Posted by "tanvipenumudy (via GitHub)" <gi...@apache.org>.
tanvipenumudy commented on PR #8288:
URL: https://github.com/apache/ozone/pull/8288#issuecomment-2804412963

   Closing the PR, 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.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org