Skip to main content

collect_allocation_sources

Function collect_allocation_sources 

Source
fn collect_allocation_sources(
    plans: &[RepartitionPlanEntry],
    routes: &[RegionRoute],
) -> Vec<(RegionId, Option<u64>)>
Expand description

Selects the lowest-ID contributing source for a target spanning multiple sources. Legacy plans without a transition map fall back to the lowest-ID source in the group.