[
https://issues.apache.org/jira/browse/PHOENIX-7586?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Lokesh Khurana resolved PHOENIX-7586.
-------------------------------------
Fix Version/s: 5.3.0
Resolution: Fixed
> 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
> Assignee: Lokesh Khurana
> Priority: Major
> Fix For: 5.3.0
>
>
> 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)