Skip to main content

verify_snapshot

Function verify_snapshot 

Source
pub fn verify_snapshot(dir: &Path) -> Result<Vec<SectionVerifyResult>>
Expand description

Validate the CRC32 integrity of every section in the V8 snapshot at dir.

Returns one entry per section directory entry (see SectionVerifyResult).

Large sections (TOPOLOGY, COLUMNS, EDGE_PROPS, HNSW, PROVENANCE, IVF_STATE) skip CRC on the normal hot query path; this function always checks them. Use it to implement mushroomdb verify without depending on core-storage directly.