MV_CONSENSUS

Exposes the runtime information of each node's "consensus module".

Column name

Description

node_id

ID of the current reporting node.

leader_id

ID of the leader node according to the current node's knowledge. May be NULL if the previous leader is suspected.

role

Whether the current node is a:

  • Leader

  • Candidate

  • Voting Member

  • Demoting Voting Member

  • Follower

term

The current term the node has knowledge about.

pending_membership

Specifies whether or not there is a membership change in-progress.

seconds_to_election

Interval in seconds after which a node suspects the leader. Only followers verify whether a leader is alive or not.

pending_election

Specifies whether or not there is an election in-progress.

Last modified:

Was this article helpful?