Skip to main content

start_node

Function start_node 

Source
pub async fn start_node(
    store: &TaskStore,
    raft_db: &Path,
    cfg: NodeConfig,
) -> Result<Node>
Expand description

Start one node of a cluster and serve its RPCs on cfg.addr. Every voter initializes with the same membership, which openraft accepts, so no voter is special