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

[PR] HDDS-16201. Rename getLocationList to createLocationList [ozone]

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

   ## What changes were proposed in this pull request?
   
   Rename the zero-argument `OmKeyLocationInfoGroup#getLocationList()` method to
   `createLocationList()`.
   
   The method flattens `locationVersionMap` and creates a new list on every
   invocation. The new name makes the allocation behavior explicit and avoids
   giving callers the impression that it is a lightweight O(1) getter.
   
   All production and test call sites have been updated, including method
   references. The deprecated `getLocationList(Long)` overload remains unchanged.
   
   This is a naming-only change with no functional behavior changes.
   
   ## What is the link to the Apache Jira?
   
   https://issues.apache.org/jira/browse/HDDS-16201
   
   ## How was this patch tested?
   
   - `mvn -pl :ozone-common test -Dtest=TestOmKeyLocationInfoGroup -DskipShade -DskipRecon -DskipDocs`
   - Compiled the main and test sources of all affected modules.
   - `./hadoop-ozone/dev-support/checks/checkstyle.sh`
   


-- 
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-16201. Rename getLocationList to createLocationList [ozone]

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


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