common_meta::rpc::router

Function operating_leader_regions

source
pub fn operating_leader_regions(
    region_routes: &[RegionRoute],
) -> Vec<(RegionId, DatanodeId)>
Expand description

Returns the operating leader regions with corresponding DatanodeId.