Skip to main content

handle_node_join

Function handle_node_join 

Source
pub fn handle_node_join(
    node_id: u64,
    addr: &str,
    topology: &mut ClusterTopology,
) -> MetadataEntry
Expand description

Apply a topology change: handle join, leave, or state transition.

Returns a MetadataEntry to be proposed to the metadata Raft group.