pub fn clone_place(
api: &dyn PlaceApi,
replica: &mut Replica,
place: &str,
verifier: &Verifier<'_>,
) -> Result<SyncReport, CloudError>Expand description
Clone place into an empty replica: verified manifest, then every
segment. A segment that fails its checks is fetched once more; a second
failure stops the clone (segment_unavailable) with nothing of it stored.
A snapshot revision that rotated out meanwhile (404 not_found, only the
latest 2 are kept) restarts the clone once from a fresh manifest.