Uploaded image for project: 'Kudu'
  1. Kudu
  2. KUDU-1720

Expose ability to appoint a replica as leader via RPC

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • NA
    • consensus
    • None

    Description

      Today we have an internal API call in RaftConsensus called EmulateElection() that causes a node to increment its term and begin acting as Raft leader without initiating an election. Exposing this would allow us to use this in emergency scenarios, where all replicas except one are offline and we need to force a node to become leader in order to then force an unsafe configuration change to be serialized to the WAL.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              mpercy Mike Percy
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: