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

RAFTSTATE

Josh Baker edited this page Oct 11, 2016 · 7 revisions

RAFTSTATE

Returns the state of the server.

Return value

Bulk string reply:

  • "Leader"
  • "Candidate"
  • "Follower"

Examples

> RAFTSTATE
"Leader"

Related Commands

RAFTADDPEER, RAFTREMOVEPEER, RAFTLEADER, RAFTSNAPSHOT, RAFTSTATE, RAFTSTATS

Clone this wiki locally