Skip to main content

read_effect_graph

Function read_effect_graph 

Source
pub fn read_effect_graph(
    layout: &BackupLayoutGuard,
    expected: &ArtifactChecksumRecord,
) -> Result<EffectGraphRecord, EffectGraphPersistenceError>
Expand description

Admit retained bounded graph under its original exact expected digest, using local IO only.

Lost creation replies reconcile by reading the exact graph. This neither checks remote completion nor grants effects, fresh authority or plan acceptance.

ยงErrors

Rejects unsafe/missing/oversized/invalid graphs, digest mismatch, replaced roots and locks.