fat-catTW opened a new pull request, #12073:
URL: https://github.com/apache/ozone/pull/12073

   ## What changes were proposed in this pull request?
   
   HDDS-17323. Avoid redundant OM admin client retries
   
   This change removes the redundant outer `RetryProxy` from targeted OM admin 
clients. The RPC proxy already has a connection retry policy, while the outer 
proxy retried every RPC exception, including `AccessControlException`.
   
   The change also bounds peer OM version checks during upgrade finalization. 
These checks now use a copied configuration with a 60-second RPC timeout and 
one connection retry. This prevents an unreachable peer OM from holding an OM 
RPC handler thread for hours while preserving one retry for transient 
connection failures. Other OM admin commands retain their existing timeout and 
retry settings.
   
   Regression tests verify that authorization failures invoke the underlying 
RPC once and that finalization peer checks use the bounded configuration.
   
   PR is implemented with the assistance of AI (Codex)
   
   ## What is the link to the Apache JIRA
   
   https://issues.apache.org/jira/browse/HDDS-17323
   
   ## How was this patch tested?
   
   - `mvn -q -pl :ozone-common -am test 
-Dtest=TestOMAdminProtocolClientSideImpl -DskipShade -DskipRecon -DskipDocs`
   - `mvn -q -pl :ozone-manager -am test 
-Dtest=TestOMStartFinalizeUpgradeRequest,TestOMStartFinalizeUpgradeRequestLegacy
 -DskipShade -DskipRecon -DskipDocs`


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