pub fn convert_to_region_leader_state_map(
region_routes: &[RegionRoute],
) -> HashMap<RegionNumber, LeaderState>
Expand description
Returns the HashMap<[RegionNumber], LeaderState>;
pub fn convert_to_region_leader_state_map(
region_routes: &[RegionRoute],
) -> HashMap<RegionNumber, LeaderState>
Returns the HashMap<[RegionNumber], LeaderState>;