Skip to main content

existing_archive_snapshots

Function existing_archive_snapshots 

Source
fn existing_archive_snapshots(
    filestore: &FileStore,
    def_id: &str,
) -> Vec<Vec<u8>>
Expand description

Every archive snapshot already stored for def_id, by bytes. Read once per definition so the dedupe below is O(archives) per agent, not per block. Enumerates zone ids directly rather than through list_archives, which caps at 100 rows and reads previews this has no use for.