mito2::region::opener

Function check_recovered_region

Source
pub(crate) fn check_recovered_region(
    recovered: &RegionMetadata,
    region_id: RegionId,
    column_metadatas: &[ColumnMetadata],
    primary_key: &[ColumnId],
) -> Result<()>
Expand description

Checks whether the recovered region has the same schema as region to create.