common_meta::ddl::utils

Function convert_region_routes_to_detecting_regions

source
pub fn convert_region_routes_to_detecting_regions(
    cluster_id: ClusterId,
    region_routes: &[RegionRoute],
) -> Vec<DetectingRegion>
Expand description

Converts a list of RegionRoute to a list of DetectingRegion.