You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "iprithv (via GitHub)" <gi...@apache.org> on 2026/10/21 03:21:58 UTC

[PR] HDDS-17204. Call getBlocksLatestVersionOnly() once in ofs/o3fs getFileBlockLocations [ozone]

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

   ## What changes were proposed in this pull request?
   
   getFileBlockLocations was calling getBlocksLatestVersionOnly() twice. That method always copies the list, so we were allocating twice. Call it once and reuse the result.
   
   ## What is the link to the Apache JIRA
   
   https://issues.apache.org/jira/browse/HDDS-17204
   
   ## How was this patch tested?


-- 
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-17204. Call getBlocksLatestVersionOnly() once in ofs/o3fs getFileBlockLocations [ozone]

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

   Thanks @iprithv for the patch, @chungen0126, @Russole, @smengcl for the review.


-- 
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-17204. Call getBlocksLatestVersionOnly() once in ofs/o3fs getFileBlockLocations [ozone]

Posted by "adoroszlai (via GitHub)" <gi...@apache.org>.
adoroszlai merged PR #11655:
URL: https://github.com/apache/ozone/pull/11655


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