Skip to main content

Module node

Module node 

Source
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§

MasterIdentity
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 every master.heartbeat on db (not fenced: a standby writes too) until stop. 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 (unknown if 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).