You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Lokesh Khurana (Jira)" <ji...@apache.org> on 2025/04/24 16:37:00 UTC

[jira] [Assigned] (PHOENIX-7586) Handle Role transitions for ActiveToStanby role in Failover HAPolicy

     [ https://issues.apache.org/jira/browse/PHOENIX-7586?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lokesh Khurana reassigned PHOENIX-7586:
---------------------------------------

    Assignee: Lokesh Khurana

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