mito2::worker::handle_alter

Function metadata_after_alteration

Source
fn metadata_after_alteration(
    metadata: &RegionMetadata,
    request: RegionAlterRequest,
) -> Result<RegionMetadataRef>
Expand description

Creates a metadata after applying the alter request to the old metadata.

Returns an error if the request is invalid.