Alexey Serbin created KUDU-3525:
-----------------------------------

             Summary: Introduce kudu master leader_step_down CLI tool
                 Key: KUDU-3525
                 URL: https://issues.apache.org/jira/browse/KUDU-3525
             Project: Kudu
          Issue Type: Improvement
          Components: CLI, master
            Reporter: Alexey Serbin


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}} 



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

Reply via email to