Skip to main content

Module state

Module state 

Source
Expand description

The state store (ARCHITECTURE.md §2).

Re-exports§

pub use error::StateError;

Modules§

error
State-store errors (codes in fault::codes).

Structs§

Checkpoint
InstanceRecord
Lease
LockClaim
Operation
OperationEvent
ReapAttempt
A recorded failed-reap attempt — surfaced in status/list until a successful teardown clears it (invariant 4).
ResourceIntent
ResourceRecord
RevisionState
Store
StripeProjectRecord

Enums§

InstanceStatus
OperationStatus
Ownership
ReapDecision
What the reaper should do with one instance this tick.
ResourcePhase

Constants§

INSTANCE_RESOURCE_STEP
Instance-scoped resources outlive every step resource.
TOMBSTONE_GC_WINDOW
The 7-day tombstone GC window (D14): logs/status keep answering until it expires, then the reaper deletes the row and the logs dir.

Functions§

new_operation_id