This repository has been archived by the owner on May 14, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 76
RAFTSTATS
Josh Baker edited this page Oct 11, 2016
·
8 revisions
Returns the stats for the current server.
Array that consists of fields and values where each field is followed by one value.
> RAFTSTATS
1) "applied_index"
2) "0"
3) "commit_index"
4) "0"
5) "fsm_pending"
6) "0"
7) "last_contact"
8) "never"
9) "last_log_index"
10) "4"
11) "last_log_term"
12) "5"
13) "last_snapshot_index"
14) "0"
15) "last_snapshot_term"
16) "0"
17) "num_peers"
18) "1"
19) "state"
20) "Candidate"
21) "term"
22) "345"
RAFTADDPEER, RAFTREMOVEPEER, RAFTLEADER, RAFTSNAPSHOT, RAFTSTATE, RAFTSTATS