Mum - distributed kv store base on raft
# server side
RUST_LOG=server,mum cargo run --bin server -- --id 1 --snap_dir example_dir/1/snap/ --wal_dir example_dir/1/ --addrs 127.0.0.1:9005 --addrs 127.0.0.1:9006 --addrs 127.0.0.1:9007
RUST_LOG=server,mum cargo run --bin server -- --id 2 --snap_dir example_dir/2/snap/ --wal_dir example_dir/2/ --addrs 127.0.0.1:9005 --addrs 127.0.0.1:9006 --addrs 127.0.0.1:9007
RUST_LOG=server,mum cargo run --bin server -- --id 3 --snap_dir example_dir/3/snap/ --wal_dir example_dir/3/ --addrs 127.0.0.1:9005 --addrs 127.0.0.1:9006 --addrs 127.0.0.1:9007
# kv --op (get/set/del/scan)
# conf --op (add/remove)
RUST_LOG=ctl,mum ./target/debug/ctl kv --op get --y hello1 --value world1 --kv_addr 127.0.0.1:9005
- A Single-File Presistent Storage
- Copy-On-Write, Read-Lock-Free (MVCC)
- Auto garbage collection
- Snapshot (Maybe)
- Multi segments
- Reply logs for Disaster Recovery