pa-06 — Execution
Prerequisites
- Go ≥ 1.25 (stdlib only, offline).
One-shot
cd pa-06-partitioning-consistency && bash scripts/verify.sh
Per-language workflow (Go)
cd pa-06-partitioning-consistency/src/go
go test -race -count=1 ./... # ring movement/balance, quorum overlap
go run ./cmd/partsim
Package map
| File | What |
|---|---|
partition/ring.go | consistent-hashing ring (vnodes) + naive mod-N for contrast |
partition/quorum.go | N/W/R quorum model + the R+W>N overlap guarantee |
cmd/partsim | key-movement comparison + quorum overlap table |
See GUIDE.md for the deep dive and the CAP/PACELC framing.