Skip to main content

validate_event_store_replay_source

Function validate_event_store_replay_source 

Source
pub fn validate_event_store_replay_source(
    base_dir: impl Into<PathBuf>,
    instance_id: &str,
    run_id: &str,
) -> Result<RunManifest, CacheReplayError>
Expand description

Validates that a configured replay source exists, is sealed, and is not quarantined.

ยงErrors

Returns CacheReplayError::EventStore when the run is missing, not sealed, quarantined, or unreadable.