echonesis opened a new pull request, #10591: URL: https://github.com/apache/ozone/pull/10591
## What changes were proposed in this pull request? This PR adds OM follower read support for the gRPC OM transport. Before this change, OM follower read support was available through the Hadoop RPC transport path, but gRPC clients still used the leader-oriented path for OM requests. This PR extends `GrpcOmTransport` so follower-read eligible OM requests can be sent to follower OM nodes when follower read is enabled. The change includes: * Applying the configured default read consistency hint for gRPC OM requests. * Routing follower-read eligible read requests to non-leader OM nodes. * Falling back to the leader path when follower read cannot be served by a follower. * Reusing OM failover exception handling for follower read failures. * Configuring per-OM gRPC ports in the HA mini cluster. * Adding unit and integration coverage for gRPC follower read behavior. Generated-by: OpenAI Codex ## What is the link to the Apache JIRA https://issues.apache.org/jira/browse/HDDS-15492 ## How was this patch tested? Tested with: ```bash mvn clean test -pl :ozone-common,:ozone-integration-test -am \ -Dtest=TestS3GrpcOmTransport,TestOzoneManagerHAWithAllRunning,TestOzoneManagerHAWithStoppedNodes,TestOzoneManagerHAFollowerReadWithAllRunning,TestOzoneManagerHAFollowerReadWithStoppedNodes,TestOzoneManagerPrepare \ -DskipShade -DskipRecon -DskipDocs ``` GitHub Actions CI: https://github.com/echonesis/ozone/actions/runs/28010968668 -- 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]
