Expand description
This process as a node of its deployment, for the Deployments page (decisions 121-123): the process’s ID, its host, and a master’s heartbeat of its row (leader or standby).
Structs§
- Master
Identity - A master’s identity as its heartbeat writes it.
Constants§
- MASTER_
HEARTBEAT - How often a master writes its row.
Functions§
- heartbeat_
master - Writes
master’s row everymaster.heartbeatondb(not fenced: a standby writes too) untilstop. A write that fails is logged once, until one succeeds; not while the schema isn’t usable yet (it is being migrated). - host_
name - This host’s name (
unknownif it isn’t valid UTF-8 or is empty). - new_
master_ id - A new master’s ID: the holder it takes the lease as.
- process_
id - This process’s ID: made once, shared by the parts it runs (standalone’s master and worker).
- webserver_
node - This process’s webserver as a node of its deployment, with
config(masked).