Expand description
Storage capabilities and their contract-violation model.
Re-exports§
pub use checkpoint::CheckpointArtifact;pub use checkpoint::CheckpointManifest;pub use checkpoint::CheckpointOffsets;pub use checkpoint::CheckpointRequest;pub use checkpoint::CheckpointRestoreVerification;pub use checkpoint::CheckpointStorageIdentity;pub use checkpoint::CheckpointStoreKind;pub use checkpoint::CHECKPOINT_SCHEMA_VERSION;
Modules§
- checkpoint
- Store-owned release-checkpoint domain contracts.
Structs§
- Append
Receipt - Canonical receipt for one primary-log append attempt.
- Checkpoint
Directory Digest - Deterministic digest and payload length for one checkpoint directory.
- Cursor
Advance - Prepared contiguous cursor transition. Creating this value does not imply persistence.
- Decoded
Read Result - Owned logical-read result after backend leases have been decoded by an adapter.
- Derived
Checkpoint - Versioned, payload-free durable metadata for one derived engine.
- Derived
Cursor - Exclusive CommitLog position durably completed by one derived engine.
- Derived
Progress - Progress of derived records, independent of primary-log acknowledgement.
- Derived
Record Id - Stable idempotency key for one record read from the authoritative CommitLog.
- Flush
Backlog - Compact durable-write pressure projection.
- GetResult
- Canonical neutral projection of a legacy logical get result.
- Leased
Bytes - Bytes whose backend lease remains held for the lifetime of this value.
- Legacy
Derived Cursor V0 - Bootstrap representation for migrating an owner that previously stored only an offset.
- Master
Epoch - A positive Controller-issued master epoch.
- Persisted
Timer Route - Immutable route persisted on first durable admission.
- Query
Result - Canonical neutral projection of a legacy key query result.
- Replica
Ack - One remote replica’s durable acknowledgement.
- Replica
Count - A replication acknowledgement count greater than the local leader alone.
- Replication
Acknowledgement - A proof produced only after the canonical acknowledgement decision succeeds.
- Replication
Observation - A complete, validated observation used for one acknowledgement decision.
- Select
Result - One selected physical byte range coupled to its backend lease.
- Store
Error - Canonical storage failure shared by the capability and implementation layers.
- Store
Health Scope - Optional parts of a
StoreHealthSnapshotthat a caller needs. - Store
Health Snapshot - Canonical backend-neutral health projection.
- Sync
State Set - A non-empty set of non-negative broker identifiers.
- Sync
State SetEpoch - A positive Controller-issued sync-state-set epoch.
- Timer
Admission Route - How new timer messages are admitted under one
TimerStoreMode: the engine that owns them and the limits that engine applies. Admission, recall handles and recall read this instead of deciding per mode. - Timer
Engine Epoch - Epoch fencing work produced by an earlier engine owner.
- Timer
Generation - Generation fencing stale recall and delivery records for one timer identity.
- TimerId
- Stable logical timer identity.
- Timer
Payload Locator - Location of the canonical message payload in CommitLog.
- Timer
Payload Store Locator - Stable location of one complete message in the long-horizon payload store.
- Timer
Recall Registration - Broker-to-store registration of a native timer recall, made before its tombstone is written so a delivery batch taken in between still sees it.
- Timer
Recall Request - Broker-to-store request for generation-aware Extended Timer cancellation.
- Timer
Snapshot File - One immutable file included in an Extended Timeline snapshot.
- Timer
Snapshot Manifest - Versioned handoff contract for Timeline, payload, and both replay streams.
- Timer
Source CqOffset - Offset of a source record in the internal timer consume queue.
- Timer
Timeline Cursor - Ordered position in a timer timeline.
- Write
Authority - The Controller authority required to accept a write or role transition.
- Write
Lease Token - A generation-scoped Controller write lease token.
Enums§
- AckPolicy
- The explicit durability condition requested by a synchronous append.
- Append
Status - Backend-neutral outcome of a legacy-compatible append attempt.
- Cursor
Advance Disposition - Result of classifying a replayed record against a durable cursor.
- Derived
Engine - Stable owner of one independently rebuildable derived view.
- Durability
- Durability reached by a primary-log append.
- GetStatus
- Canonical result status for a bounded logical get.
- HaReject
Reason - Why a write authority or replica policy was rejected.
- Read
Cache State - Neutral cache-residency observation for a selected byte range.
- Release
Checkpoint Create Rejection - Expected rejection from release-checkpoint creation.
- Release
Checkpoint Creation Result - Result of attempting to create a release checkpoint.
- Release
Checkpoint Restore Rejection - Expected rejection from release-checkpoint restore verification.
- Release
Checkpoint Restore Verification Result - Result of verifying a release checkpoint for restoration.
- Replication
Decision - Canonical outcome of evaluating authority, local durability, and replica acknowledgements.
- Store
Component - Closed vocabulary identifying the storage component that failed.
- Store
Contract Violation - A deterministic violation of a public Store API contract.
- Store
Operation - Closed vocabulary for operations that may cross the capability boundary.
- Timer
Engine Id - Stable identifier of the engine that owns one accepted timer record.
- Timer
File Format - On-disk format of the Java-compatible engine’s TimerLog, TimerWheel and checkpoint.
- Timer
Recall Status - Stable outcome of a typed Timer cancellation attempt.
- Timer
Store Mode - Configured timer storage mode.
- Timer
Timeline Index Kind - Persistent owner of the large ordered Timeline index. The RocksDB overlay remains present for state, ready, receipt, and checkpoints in both modes.
Constants§
- DERIVED_
CHECKPOINT_ ENCODED_ LEN - Fixed byte length of the version-one derived checkpoint format.
- DERIVED_
CHECKPOINT_ FORMAT_ VERSION - Current on-disk version of
DerivedCheckpoint. - EXTENDED_
TIMELINE_ FORMAT_ VERSION - Current record format written by the extended timeline engine.
- JAVA_
COMPAT_ TIMER_ FORMAT_ VERSION - Current route format written by the Java-compatible timer engine.
- NATIVE_
TIMER_ FORMAT_ VERSION - Current route format written by the native timer engine.
- RELEASE_
CHECKPOINT_ MANIFEST_ FILE - Manifest stored beside a checkpoint payload.
- TIMER_
SNAPSHOT_ SCHEMA_ VERSION - Current Extended Timeline snapshot manifest schema.
Traits§
- Admin
Store - Administrative storage capability with implementation-owned values.
- Derived
Record Sink - Derived-record append capability with implementation-owned values.
- Message
Appender - Message append capability generic over a consumer-owned input.
- Message
Reader - Message read capability with implementation-owned request and output values.
- Offset
Index - Logical offset lookup capability.
- Release
Checkpoint Store - Authorized, deadline-bounded Store checkpoint capability.
- Replication
Control - Replication control capability with implementation-owned command and state values.
- Store
Health - Health snapshot capability with an implementation-owned projection.
- Store
Lifecycle - Storage lifecycle capability.
- WalPort
- Read access to the authoritative primary log owned by a composed backend.
Functions§
- decide_
replication - Evaluates one append without I/O, mutation, retry, or implicit durability downgrade.
- file_
uri_ to_ path - Resolves a checkpoint URI created by
path_to_file_uri. - hash_
checkpoint_ directory - Hashes all regular files in stable relative-path order.
- path_
to_ file_ uri - Converts a local path to the file URI emitted in checkpoint manifests.