Skip to main content

select_targets

Function select_targets 

Source
pub fn select_targets<P>(
    leader_provider: &P,
    backups: &[LeaderTarget],
    policy: RoutingPolicy,
) -> Vec<LeaderTarget>
where P: LeaderProvider + ?Sized,
Expand description

Selects leader/backup targets in deterministic order.