Skip to content
This repository was archived by the owner on May 14, 2024. It is now read-only.

RAFTLEADER

Josh Baker edited this page Oct 10, 2016 · 8 revisions

RAFTLEADER

Returns the leader of the cluster.

Return value

Bulk string reply: the leader, or nil when a leader is not known.

Examples

redis> RAFTLEADER
127.0.0.1:7481

Raft

RAFTADDPEER, RAFTREMOVEPEER, RAFTLEADER, RAFTSNAPSHOT, RAFTSTATE, RAFTSTATS

Clone this wiki locally