Available on crate feature
serve only.Expand description
Clustered execution (#197, Mode A): when --cluster is set, every instance
runs a claim loop that pulls Pending runs from the shared SQL history DB,
so submissions pull-balance across instances and a crashed instance’s runs
are re-run by a survivor. Inert unless enabled.
Structs§
- Cluster
Config - Validated cluster settings, derived from
--cluster*args. - Cluster
Handle - Cheaply-cloneable runtime handle for cluster coordination, held in
ServerState. Carries the kick signal (sosubmitcan wake the local claim loop immediately) and the cached live-member count (so/readyzneed not hit the DB per probe).
Functions§
- claim_
loop - Background claim + cancel-propagation loop (cluster mode only). Each wake: