Expand description
Bootstrap replay for restoring cache state after a cache-owned snapshot.
This module is deliberately state-only: it consumes event-store entries, decodes the
cache-affecting payloads, and mutates [nautilus_common::cache::Cache] directly. It
does not publish to the live message bus, send commands, invoke adapters, or submit
entries back into the event store.
Structs§
- Cache
Replay Report - Summary of a cache snapshot-tail replay.
- Catalog
Replay Record - Catalog record loaded for replay context.
- Catalog
Replay Slice - Loaded catalog records for one planned slice.
- Catalog
Slice Coverage - Catalog file and interval coverage for a planned slice.
- Catalog
Slice Plan - Planned catalog slice joined to a replay input scan.
- Catalog
Slice Query - Resolved catalog query after replay time bounds have been applied.
- Catalog
Slice Selector - Caller-selected data catalog slice before replay window defaults are applied.
- Event
Store Replay Report - Summary of an event-store replay source and cache restore.
- Parquet
Replay Catalog - Read-only replay catalog adapter backed by [
ParquetDataCatalog]. - Replay
Input Plan - Planned replay inputs for an event-store scan with optional catalog context.
- Replay
Inputs - Loaded replay inputs with event-store entries and optional catalog context.
- Replay
SeqRange - Inclusive event-store
seqbounds for replay input scans. - Replay
Time Range - Inclusive nanosecond time bounds for catalog slice selection.
Enums§
- Cache
Replay Error - Errors surfaced while restoring a cache snapshot tail.
- Catalog
Replay Data - Typed catalog data loaded for replay context.
- Replay
Input Error - Errors surfaced while planning or loading replay inputs.
Traits§
- Replay
Catalog - Read-only catalog source used by catalog-joined replay input loaders.
Functions§
- apply_
cache_ replay_ entry - Applies one event-store entry to cache state when a replay rule exists.
- load_
catalog_ replay_ inputs - Loads catalog replay inputs from an existing plan.
- load_
forensics_ replay_ inputs - Loads event-store-only forensics replay inputs.
- open_
event_ store_ replay_ source - Opens a sealed run for replay without touching live venues.
- plan_
catalog_ replay_ inputs - Plans replay inputs by joining event-store entries with selected catalog slices.
- plan_
forensics_ replay_ inputs - Plans event-store-only forensics replay inputs.
- replay_
cache_ snapshot_ tail - Replays the cache snapshot tail when the cache snapshot has already been restored.
- restore_
cache_ from_ sealed_ run - Restores cache state from a sealed run without publishing to the bus or touching live venues.
- restore_
cache_ snapshot_ and_ replay_ tail - Replays the cache snapshot tail after the caller restores the cache-owned snapshot blob.
- restore_
cache_ snapshot_ blob - Restores the cache-owned snapshot blob identified by
anchor. - validate_
event_ store_ replay_ source - Validates that a configured replay source exists, is sealed, and is not quarantined.