pub async fn heartbeat_master(
db: Database,
master: MasterIdentity,
stop: Receiver<u32>,
)Expand description
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).