ritegarg commented on code in PR #2128:
URL: https://github.com/apache/phoenix/pull/2128#discussion_r2064152813


##########
phoenix-core-client/src/main/java/org/apache/phoenix/jdbc/HighAvailabilityPolicy.java:
##########
@@ -47,6 +48,23 @@ public Connection provide(HighAvailabilityGroup haGroup, 
Properties info,
             return new FailoverPhoenixConnection(context);
         }
 
+        /**
+         * Cluster Role Transitions for Failover High Availability Policy, 
Here we are trying to
+         * close connections late to allow existing reads to continue during 
Failover.
+         * ACTIVE --> ACTIVE_TO_STANDBY (Doing Nothing as we are in process of 
moving the current
+         *      to STANDBY and at this step we are blocking reads to drain 
replication this allows

Review Comment:
   Blocking writes



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

Reply via email to