How to inspect raft node status
This guide shows you how to inspect the current term and index of a possibly-running node.
Related guides:
Steps
- Type and run
dqlite-utils --dir /path/to/dqlite-data-dir. - Type and run
.status.
You will the raft metadata, for example:
> .status
dir: .
term: 1
current_index: 20011
first_index: 10242