Repository navigation
v0.2.0
MCache v0.2.0 introduces raft-backed cluster mode and turns the project from a single-node in-memory cache into a service with replicated writes, recovery tooling, and built-in observability.
Highlights
- Added
raftcluster mode for replicated writes - Unified cache data and prefix indexing behind a command-driven state machine
- Added dynamic cluster membership APIs
- Added
/livez,/readyz,/metrics, and/v1/cluster/diagnostics - Added smoke, quorum, and rolling-restart e2e recovery tests
- Added Docker Compose v2 support in e2e startup scripts
- Expanded README with cluster setup, metrics, and operations guidance
New APIs
GET /v1/cluster/statusGET /v1/cluster/diagnosticsGET /v1/cluster/nodesPOST /v1/cluster/nodesDELETE /v1/cluster/nodes/:nodeIdGET /livezGET /readyzGET /metrics
Observability
- Prometheus-style metrics for:
- cache item counts
- cluster role and readiness
- raft indexes and state
- write request totals
- write error/redirect totals
- write latency histograms
Recovery Validation
make e2e-raftmake e2e-raft-quorummake e2e-raft-rolling
Full Changelog
v0.1.0...v0.2.0