Skip to content

v0.2.0

Latest

Choose a tag to compare

@AlpherJang AlpherJang released this 10 Apr 03:09
· 4 commits to main since this release
1b1d15a

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 raft cluster 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/status
  • GET /v1/cluster/diagnostics
  • GET /v1/cluster/nodes
  • POST /v1/cluster/nodes
  • DELETE /v1/cluster/nodes/:nodeId
  • GET /livez
  • GET /readyz
  • GET /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-raft
  • make e2e-raft-quorum
  • make e2e-raft-rolling

Full Changelog

v0.1.0...v0.2.0