Expand description
The live operational state of a running daemon.
Status is the shared handle the crate’s status observer (StatusObserver)
writes to as the engine emits events, and the HTTP /status endpoint reads
from. It
holds only fast, lock-light state (atomics for counters, short-held mutexes
for the phase, the per-index map, and the last error) so updating it never
blocks the pipeline’s hot path.
Structs§
- Status
- Shared, mutable operational state. Cheap to update concurrently from the
observer; snapshotted to JSON for the
/statusendpoint. - Status
Snapshot - A serializable snapshot of
Status, returned as JSON by/status.
Enums§
- Index
State - Where one index is in its lifecycle.
- Phase
- The pipeline’s overall phase, in the order the engine moves through them.