Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-12286

Make leader election robust for Impala CatalogD HA

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • Impala 4.3.0
    • Impala 4.3.0
    • Backend
    • None
    • ghx-label-13

    Description

      statestore is responsible for electing a leader catalogd when CatalogD HA 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".

      Attachments

        Activity

          People

            wzhou Wenzhe Zhou
            wzhou Wenzhe Zhou
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: