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

   ## What changes were proposed in this pull request?
   
   A subtask of [HDDS-14873](https://issues.apache.org/jira/browse/HDDS-14873), 
a refactoring effort to reduce code duplication between OMRequest OBS/FSO 
pairs. This patch covers the `OMAllocateBlockRequest` classes.
   
   `OMAllocateBlockRequestWithFSO` fully overrides `validateAndUpdateCache` 
even though most of the logic is identical to the OBS implementation, only 
differing in key lookup, cache update, and response creation. This PR 
consolidates the shared logic into a template method in the base class and 
isolates the differing parts into helper methods.
   
   ## What is the link to the Apache JIRA
   
   https://issues.apache.org/jira/browse/HDDS-15320
   
   ## How was this patch tested?
   
   No new tests added, existing ones already cover the affected behavioral 
paths.
   CI passed: https://github.com/rhalm/ozone/actions/runs/26234828557
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to