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

Introduce kudu master leader_step_down CLI tool

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • CLI, master
    • None

    Description

      Currently there is kudu tablet leader_step_down CLI tool, but it doesn't work for the system catalog tablet. However, in various scenarios it's useful to have a CLI tool to make the current leader master stepping down and Raft election to happen for the system catalog tablet. To name just a few scenarios:

      • Removing a second master when downsizing down the 2 -> 1 path (that's a second step of 3 -> 2 -> 1 migration), if the master to be removed hosts the leader replica of the system catalog. In such a case, the kudu master remove CLI isn't working since it cannot make the current leader replica of the system tablet to step down.
      • Explicitly moving the system catalog leadership from one master node to another. That might be useful in various scenarios, at least for test scenarios involving ExternalMiniCluster

      Attachments

        Activity

          People

            Unassigned Unassigned
            aserbin Alexey Serbin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: