Skip to main content

reconcile_plan_with_scan

Function reconcile_plan_with_scan 

Source
fn reconcile_plan_with_scan(
    plan: VerifyPlan,
    scan: VerifyDataScan,
) -> VerifyOutcome
Expand description

Reconciles the manifest plan against the storage scan. Pure; performs no IO.

Emits missing-file problems for expected files absent from storage and unexpected-file problems for storage files no chunk claims. Unexpected files are sorted by path so output is deterministic regardless of listing order.