Skip to main content

resuming

Function resuming 

Source
pub fn resuming(root: &Path, backup: &Backup) -> Result<bool, Refusal>
Expand description

Whether this target is a resumed placement rather than a fresh one.

A log byte-identical to the backup’s is this command’s own earlier placement, from a run that stopped for a decision. Refusing it would make the documented recovery path unreachable: the first run places the files, and the second could never get past this check. Anything else is somebody’s node, and which of the two logs is real is not a decision available here.

§Errors

Refuses when the target holds a different log, or already holds one of the repositories.