Enum EdgeState
#[non_exhaustive]pub enum EdgeState {
Running,
Parked(Failure),
Stopped(StopCause),
}Expand description
Whether an edge still exchanges.
#[non_exhaustive], so a state added later does not break a match.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Running
The next step exchanges.
Parked(Failure)
Something at the head of the edge can never land, and the edge does no
more I/O: a failure of class Park, or a
Split the runner could not halve — one
write group, which is never cut (SY-30), or a refusal outside the push,
where the runner holds no batch to halve.
The whole edge parks, not one event: the watermark and the pull token are both prefixes, so nothing behind the stuck group can move past it. An operator raises the limit, or accepts the loss, and builds a new edge.
Stopped(StopCause)
The edge halted for the cause named, and does no more I/O. An operator fixes the cause and builds a new edge. The local log is never touched on the way (SY-34).