pub fn start(node: Arc<Node>, state: Shared) -> Result<JoinHandle<()>>Expand description
Start the election thread for node, swapping engines in state as the
node gains and loses leadership. state must hold a standby engine
(Node::standby_engine) to begin with.