Function raftstore::store::bootstrap::prepare_bootstrap_cluster[][src]

pub fn prepare_bootstrap_cluster(
    engines: &Engines<impl KvEngine, impl RaftEngine>,
    region: &Region
) -> Result<()>

The first phase of bootstrap cluster

Write the first region meta and prepare state.