Wenzhe Zhou created IMPALA-12286:
------------------------------------

             Summary: Make leader election robust for Impala CatalogD
                 Key: IMPALA-12286
                 URL: https://issues.apache.org/jira/browse/IMPALA-12286
             Project: IMPALA
          Issue Type: Improvement
          Components: Backend
    Affects Versions: Impala 4.3.0
            Reporter: Wenzhe Zhou
            Assignee: Wenzhe Zhou


statestore is responsible for electing a leader catalogd when CatalogD is 
enabled for an Impala cluster with a pair of catalogd in active-passive mode. 
When a new leader catalogd is elected, statestore notify all coordinators and 
catalogds for the new leader catalogd in thrift RPCs. But RPCs could be failed 
due to network condition. We have to resend RPCs to the coordinators and 
catalogds if they are still in the cluster. Otherwise, catalogds don't know 
their new roles, and the coordinators still access old leader catalogd.
We also need to rename metric name ""catalog-server.ha-active-status" to 
"catalog-server.active-status".



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

Reply via email to