common_meta::rpc::router

Function convert_to_region_peer_map

source
pub fn convert_to_region_peer_map(
    region_routes: &[RegionRoute],
) -> HashMap<RegionNumber, HashSet<u64>>
Expand description

Returns the HashMap<[RegionNumber], HashSet>