Documentation
¶
Overview ¶
Package proberun runs the probe role of a Pulsequorum node. It is shared by the pulsequorum and pulsequorum-probe binaries and must not import voter-only packages (ADR 0043).
Index ¶
Constants ¶
const CheckpointInterval = 60 * time.Second
CheckpointInterval is the period of the WAL checkpoint job (ADR 0013 C4).
Variables ¶
This section is empty.
Functions ¶
func DBFileSizes ¶
DBFileSizes returns the size of the database file and of its WAL in bytes. A file that cannot be stat'ed counts as 0; the metric then shows the drop.
func ReadJoinToken ¶
ReadJoinToken returns the join token from JOIN_TOKEN or JOIN_TOKEN_FILE. It is a secret and never logged.
Types ¶
This section is empty.