nooschain / db/schema / RaftNodeStateTable
Interface: RaftNodeStateTable
Defined in: db/schema.ts:965
Persistent Noosraft node term/vote/apply/snapshot state.
Properties
cluster_id
cluster_id:
string
Defined in: db/schema.ts:967
commit_index
commit_index:
BigIntColumn
Defined in: db/schema.ts:970
current_term
current_term:
BigIntColumn
Defined in: db/schema.ts:968
install_snapshot_count
install_snapshot_count:
BigIntColumn
Defined in: db/schema.ts:974
last_applied
last_applied:
BigIntColumn
Defined in: db/schema.ts:971
last_snapshot_installed_at
last_snapshot_installed_at:
Timestamp|null
Defined in: db/schema.ts:975
node_id
node_id:
string
Defined in: db/schema.ts:966
snapshot_last_included_index
snapshot_last_included_index:
BigIntColumn
Defined in: db/schema.ts:972
snapshot_last_included_term
snapshot_last_included_term:
BigIntColumn
Defined in: db/schema.ts:973
updated_at
updated_at:
Timestamp
Defined in: db/schema.ts:976
voted_for
voted_for:
NullableTextColumn
Defined in: db/schema.ts:969