opendataio / ratis-shell

A project provide a shell to talk to ratis server

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support Elect a specify leader

maobaolong opened this issue · comments

bin/ratis sh elect -peers localhost:19200,localhost:19201,localhost:19202 -address localhost:19201
Applying new peer state before transferring leadership: [localhost_19202|rpc:localhost:19202|priority:1, localhost_19201|rpc:localhost:19201|priority:2, localhost_19200|rpc:localhost:19200|priority:1]
Transferring leadership to server with address <localhost:19201> and with RaftPeerId <localhost_19201>
Transferring leadership initiated

Done