Skip to main content

check_catalog_pointers

Function check_catalog_pointers 

Source
pub fn check_catalog_pointers(
    name: &str,
    descriptor: &CollectionDescriptor,
    page_count: u64,
    failures: &mut Vec<IntegrityFailure>,
)
Expand description

Confirm the catalog descriptor’s primary_root + each Active index’s root_page_id point at pages within 1..page_count. Records DanglingCatalogPointer failures for every miss.