jpisaac commented on code in PR #2074:
URL: https://github.com/apache/phoenix/pull/2074#discussion_r2017732658
##########
phoenix-core-client/src/main/java/org/apache/phoenix/jdbc/HighAvailabilityPolicy.java:
##########
@@ -44,63 +46,98 @@ public Connection provide(HighAvailabilityGroup haGroup,
Properties info,
FailoverPhoenixContext context = new FailoverPhoenixContext(info,
haGroup, haURLInfo);
return new FailoverPhoenixConnection(context);
}
+
@Override
void transitClusterRole(HighAvailabilityGroup haGroup,
ClusterRoleRecord oldRecord,
Review Comment:
As discussed, maybe good to add the check for both roles being ACTIVE, due
to misconfiguration and log it.
--
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]