Skip to main content

reachable_leader

Function reachable_leader 

Source
pub fn reachable_leader(
    role: &Role,
    follower: NodeId,
    partitioned: &BTreeSet<NodeId>,
    is_leader: impl FnOnce(NodeId) -> bool,
) -> Option<NodeId>
Expand description

A fetch watchdog can poll again while the node’s leader is reachable.