Expand description
Recovery reducer - applies events to reconstruct state.
A replay reducer applies WAL events to reconstruct the current state of the ActionQueue system. This is used during recovery to rebuild state from the WAL.
Lease replay semantics are strict by design:
- lease events must reference a known run,
- lease events must satisfy explicit run-state preconditions,
- lease mutations must satisfy owner/expiry causality checks,
- terminal runs cannot retain active lease projection.
Structs§
- Actor
Record - Actor projection record.
- Attempt
History Entry - A deterministic attempt lineage record for a run.
- Budget
Record - Budget allocation and consumption record.
- Capability
Grant Record - Capability grant record.
- Lease
Metadata - A deterministic lease metadata record for a run.
- Ledger
Entry Record - Ledger entry record.
- Replay
Reducer - A reducer that applies WAL events to reconstruct state.
- Role
Assignment Record - Role assignment record.
- RunState
History Entry - A deterministic state transition record for a run.
- Subscription
Record - Subscription state record.
- Task
Record - Projection record for a task with timestamp metadata.
- Tenant
Record - Tenant projection record.
Enums§
- Engine
Control Causality Error - Typed engine control replay causality failures.
- Lease
Causality Error - Typed lease replay causality failures.
- Lease
Event Kind - Lease event kinds used by typed causality errors.
- Replay
Reducer Error - Errors that can occur during replay reduction.
- Task
Causality Error - Typed task replay causality failures.