Wenzhe Zhou created IMPALA-12321:
------------------------------------

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

Reply via email to