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

RAFTLEADER

Josh Baker edited this page Oct 11, 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

> RAFTLEADER
127.0.0.1:7481

Related Commands

RAFTADDPEER, RAFTREMOVEPEER, RAFTLEADER, RAFTSNAPSHOT, RAFTSTATE, RAFTSTATS

Clone this wiki locally