Expand description
Cluster coordination and node management.
Nodes discover each other via PostgreSQL (forge_nodes table, heartbeat-based).
Singleton processes (scheduler, daemons) use advisory locks for leader election:
if the leader crashes, PostgreSQL releases the lock and a standby node acquires it.
Structs§
- Cluster
Info - Information about the cluster.
- Leader
Info - Leadership information for a role.
- NodeId
- Unique node identifier.
- Node
Info - Information about a node in the cluster.
- Parse
Leader Role Error - Parse
Node Role Error - Parse
Node Status Error
Enums§
- Leader
Role - Leader role for coordinated operations.
- Node
Role - Node role in the cluster.
- Node
Status - Node status in the cluster.