English: Getting Started
rustc --version
lein
export PATH="$HOME/.cargo/bin:$HOME/bin:$PATH"
git clone https://github.com/lanpishu6300/multiraft.git cd multiraft cargo test --workspace
./scripts/run_demo_cluster.sh
默认 --base-port 21000:
--base-port 21000
127.0.0.1:21000
http://127.0.0.1:21100
127.0.0.1:21001
http://127.0.0.1:21101
127.0.0.1:21002
http://127.0.0.1:21102
curl -s http://127.0.0.1:21100/groups/0/value curl -s -X POST http://127.0.0.1:21100/groups/0/inc \ -H 'content-type: application/json' -d '{"delta":1}'
./scripts/acceptance.sh ./scripts/chaos.sh ./scripts/run_jepsen.sh # ~30s smoke ./scripts/test_all.sh # CHAOS=1 含 chaos.sh
大重建前建议清理 target/ 以释放磁盘。
target/
更多:README.zh-CN.md · jepsen.md
There was an error while loading. Please reload this page.