Show the current state of a replica set node in regards to leader election, namely, election state (mode), election term, vote in the current term, and the leader ID of the current term.
tarantool> box.info.election --- - state: follower vote: 0 leader: 0 term: 1 ...
IDs in the
box.info.electionoutput are the replica IDs visible in the
box.info.idoutput on each node and in the
State can be
candidate. For more details, refer to description of the leader election process. When election is enabled, the node is writable only in the
0means the node didn’t vote in the current term.
0means the node doesn’t know who a leader in the current term is.