ptlrs opened a new pull request, #10228: URL: https://github.com/apache/ozone/pull/10228
## What changes were proposed in this pull request? When OM client talks to a follower and receives the ServiceException, the OMNotLeaderException sets the suggested leader information to null. The exception string does preserve the leader information in the message but it needs to be parsed and extracted first. This PR * Creates a new string format which contains the suggested leader information so that it can be parsed * Updates the suggested leader information when converting the exceptions to OMNotLeaderException * Adds tests ## What is the link to the Apache JIRA https://issues.apache.org/jira/browse/HDDS-3936 ## How was this patch tested? CI: https://github.com/ptlrs/ozone/actions/runs/25620947837 -- 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]
