Skip to content

v0.3.3 — reduce idle maintenance CPU

Choose a tag to compare

@github-actions github-actions released this 14 Sep 21:10
· 12 commits to main since this release
99df657

Persistent partitions stop opening expiry iterators after safe discovery. Maintenance scans only each shard's partitions, schedules TTL deadlines and yields between bounded record quanta. Mutation, replication and restart invalidate stale proofs.

  • Cache immutable ondaDB range fragments across iterators while preserving MVCC and independent cursor state.
  • Skip empty cold-partition range deletes and require fresh nonce-correlated cleanup proofs tied to data generation and placement epoch.
  • Fix INFO key/expiry counts and expose expiry-work, range-memory and retained-cache metrics.
  • Add deterministic scheduler, TTL, cleanup, protocol and cache regressions to CI; require the quality gate before publishing images.
  • Update website documentation and provide disposable process/Docker reproduction harnesses.

Compatibility: no Redis command or storage-format change. Older peers continue replication and anti-entropy but cannot authorize cold cleanup until upgraded. ondaDB is pinned to 0f4ebc67434551c9d3d4cba899829234760f4215.

Validation: 605 marekvs tests passed, plus default and unsafe-fastpath ondaDB suites. In the synthetic 18,117-range process fixture, 1/2/10-shard idle CPU fell from 29.2/70.4/337.5% to 0.38/0.34/0.37% of one core; all fixed runs had zero iterator growth over 60 seconds. These are diagnostic same-host measurements, not capacity guarantees. Full methodology and Docker results are in docs/investigations/2026-09-14-idle-cpu-results.md.

Images

ghcr.io/yannick/marekvs:v0.3.3
ghcr.io/yannick/marekvs:v0.3
ghcr.io/yannick/marekvs:sha-99df657
ghcr.io/yannick/marekvs:latest
ghcr.io/yannick/marekvs:debug-v0.3.3
ghcr.io/yannick/marekvs:debug-v0.3
ghcr.io/yannick/marekvs:debug-sha-99df657
ghcr.io/yannick/marekvs:latest