Rindle docs and package mapSkip to main content

restore_bootstrap_with_journal

Function restore_bootstrap_with_journal 

pub fn restore_bootstrap_with_journal(
    snapshot: impl AsRef<Path>,
    target: impl AsRef<Path>,
    source: &str,
    journal: JournalMode,
) -> Result<Option<String>, ReplicaError>
Expand description

restore_bootstrap with an explicit target JournalMode. The snapshot arrives in rollback (delete) mode; the hop below passes through delete before requesting the target mode (wal2 cannot be entered from wal directly — §10.3 — and the symmetric hop is harmless for wal), then asserts the file actually landed in it.