neils-dev opened a new pull request, #3389: URL: https://github.com/apache/ozone/pull/3389
## What changes were proposed in this pull request? OMFailoverProxyProvider is refactored into a base abstract class containing common properities and methods for ozone manager failover proxies and into two implemementing classes. The base OMFailoverProxyProviderBase is extended and implemented for the standard ozone clients and for the Grpc ozone client, OMFailoverProxyProvider and GrpcOMFailoverProxyProvider respectively. This PR implements the refactoring as discussed in comments found in HDDS-5544 PR #2901. ## What is the link to the Apache JIRA https://issues.apache.org/jira/browse/HDDS-6433 ## How was this patch tested? This patch was tested through unit tests, integration tests and manually with docker-compose HA cluster. Unit tests: ``` hadoop-ozone/s3gateway/src/test/java/org/apache/hadoop/ozone/protocolPB/TestGrpcOmTransport.java hadoop-ozone/common/src/test/java/org/apache/hadoop/ozone/om/protocolPB/TestS3GrpcOmTransport.java hadoop-ozone/common/src/test/java/org/apache/hadoop/ozone/om/ha/TestOMFailoverProxyProvider.java hadoop-ozone/ozone-manager/src/test/java/org/apache/hadoop/ozone/om/failover/TestOMFailovers.java ``` Integration tests: including `src/test/java/org/apache/hadoop/ozone/om/TestOzoneManagerHAMetadataOnly.java ` -- 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]
