Skip to main content

hold_in_place

Function hold_in_place 

Source
fn hold_in_place(s: &SystemState, u: &UnitId) -> bool
Expand description

§11, §12d: whether u’s traffic is held now, in the observation s (lane-daemon’s ledger holds, reconciled with /run/planarian/hold/). §11 waives the RestartUnit row’s escalations because “its traffic is held”, so the waiver reads the hold itself, not the footprint that leads to it: §12d fails closed toward applying a hold, and with this a missing or stale footprint buys a waiver only once traffic is in fact blocked. SystemState.holds: the journal’s holds and the host’s, their union.