Skip to main content

restore_archive_reconcile

Function restore_archive_reconcile 

Source
pub fn restore_archive_reconcile(
    scanned: bool,
    snapshot_state: RestoreSnapshotState,
) -> RestoreReconcileDecision
Expand description

Reconcile one archive-scan observation with one snapshot lifecycle state.

A live segment must have been scanned. A segment whose deletion started is excluded whether or not its objects remain. A scanned segment that the snapshot omits, or reports as fully deleted, disagrees; an unscanned one is simply excluded.