You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues-all@impala.apache.org by "Wenzhe Zhou (Jira)" <ji...@apache.org> on 2023/07/31 05:07:00 UTC

[jira] [Resolved] (IMPALA-12321) Fix the race condition for updating active catalogd when CatalogD HA is enabled

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

Wenzhe Zhou resolved IMPALA-12321.
----------------------------------
    Target Version: Impala 4.3.0
        Resolution: Fixed

> Fix the race condition for updating active catalogd when CatalogD HA is enabled
> -------------------------------------------------------------------------------
>
>                 Key: IMPALA-12321
>                 URL: https://issues.apache.org/jira/browse/IMPALA-12321
>             Project: IMPALA
>          Issue Type: Improvement
>          Components: Backend
>    Affects Versions: Impala 4.3.0
>            Reporter: Wenzhe Zhou
>            Assignee: Wenzhe Zhou
>            Priority: Major
>             Fix For: Impala 4.3.0
>
>
> When CatalogD HA is enabled, statestored sends the address of current active catalogd to coordinators and catalogds during registration, or a new active catalogd is elected. Statestored sends the active catalogd in two different kinds of RPCs. If there are more than one election changes in short time, coordinators and catalogds could receive RPCs in the order which is different from the changing order on statestore. To make coordinators and catalogds to have same view as statestore, we have to avoid to overwrite the later version of active catalogd with previous change.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org