Skip to main content

handle_join_request

Function handle_join_request 

Source
pub fn handle_join_request(
    req: &JoinRequest,
    topology: &mut ClusterTopology,
    routing: &RoutingTable,
) -> JoinResponse
Expand description

Build a JoinResponse from current cluster state.

Called by the RPC handler on the seed/leader node when a JoinRequest arrives.