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

Leadership transfer (graceful step down)

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.9.0
    • Component/s: consensus
    • Labels:
      None

      Description

      Leadership transfer, also referred to as graceful leader step down, is a concept from the Raft dissertation (Section 3.10: Leadership transfer extension) where a leader can select a replica to "take over" as leader, and gracefully transfer leadership to that node by engineering an election in which that node is highly likely to win. This minimizes the period in a leadership change during which there is no recognized leader, and therefore minimizes latency spikes during a leader change.

      This feature can be useful when the leader replica should be removed from the tablet configuration. This can happen when the tablet server running the leader replica is being decommissioned, or in the case of tablet replica rebalancing where the tablet server hosting the leader replica can be considered overloaded.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                wdberkeley William Berkeley
                Reporter:
                mpercy Mike Percy
              • Votes:
                1 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: