pub fn find_leader_regions(
region_routes: &[RegionRoute],
datanode: &Peer,
) -> Vec<RegionNumber>
Expand description
Returns the region numbers of the leader regions on the target datanode.
pub fn find_leader_regions(
region_routes: &[RegionRoute],
datanode: &Peer,
) -> Vec<RegionNumber>
Returns the region numbers of the leader regions on the target datanode.