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

   ## What changes were proposed in this pull request?
   
   OM nodes in HA are contacted in the order specified by the configuration 
until leader is found.  Failover doesn't take long, but acceptance tests have 
lots of separate Ozone commands, each of which start from scratch, so failover 
time adds up.
   
   This PR adds logic to replace OM order in Ozone config inside the test 
containers after the leader is elected.
   
   https://issues.apache.org/jira/browse/HDDS-8205
   
   ## How was this patch tested?
   
   Regular CI:
   
https://github.com/adoroszlai/hadoop-ozone/actions/runs/4448198533/jobs/7811294655
   
   Verified output:
   
   ```
   Found OM leader for service omservice: om2 : LEADER (om2)
   Replaced OM order with om2,om3,om1 in ozone-ha_datanode_1
   ...
   ```


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