# 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:<ul> <li>Leader</li> <li>Candidate</li> <li>Voting Member</li> <li>Demoting Voting Member</li> <li>Follower</li> </ul> |
| `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.                                                                                           |

***

Modified at: July 11, 2024

Source: [/cloud/reference/information-schema-reference/management/mv-consensus/](https://docs.singlestore.com/cloud/reference/information-schema-reference/management/mv-consensus/)

(An index of the documentation is available at /llms.txt)
