Skip to main content

checkpoint_execution_settlement

Function checkpoint_execution_settlement 

Source
pub fn checkpoint_execution_settlement(
    layout: &BackupLayoutGuard,
    expected_plan: &ArtifactChecksumRecord,
) -> Result<ExecutionSettlementRecord, ExecutionSettlementCheckpointError>
Expand description

Derive and publish an all-Applied checkpoint from the exact retained original journals.

Reads every original journal sequentially, then delegates immutable publication to create_execution_settlement, which rechecks the complete original histories. Hold no journal guards at admission. This creates no receipts, spending allowance, product terminal proof or release permission. An occupied checkpoint is never replaced; use read_execution_settlement with its retained identity for local replay.

ยงErrors

Rejects missing, held, changed or unsettled originals and publication failures.