Lokesh Khurana created PHOENIX-7586:
---------------------------------------
Summary: Handle role transitions for ActiveToStanby role in
Failover HAPolicy
Key: PHOENIX-7586
URL: https://issues.apache.org/jira/browse/PHOENIX-7586
Project: Phoenix
Issue Type: Improvement
Reporter: Lokesh Khurana
PHOENIX-7493 introduced a new Role ActiveToStandy, in that state all the
mutations are blocked at server side.
It states that graceful failover is achieved by the following steps
# Change the Active cluster’s role to ActiveToStandby,
# Wait for the replication data is drained
# Change the Standby cluster’s role to Active, and the ActiveToStandby
cluster’s role Standby
We need to handle Role Transitions of step 1. in Failover HA Policy where we
should close all the connections for more role transitions instead of closing
it in only ACTIVE -> STANDBY transition. For example below role transitions
needs to handled
ACTIVE -> ACTIVE_TO_STANDBY
ACTIVE_TO_STANDBY -> STANDBY
--
This message was sent by Atlassian Jira
(v8.20.10#820010)