Repository navigation
Releases
marekvs 0.3.5: the ondaDB database moves into <data_dir>/db on start
Images
ghcr.io/yannick/marekvs:v0.3.5
ghcr.io/yannick/marekvs:v0.3
ghcr.io/yannick/marekvs:sha-95e3fa4
ghcr.io/yannick/marekvs:latest
ghcr.io/yannick/marekvs:debug-v0.3.5
ghcr.io/yannick/marekvs:debug-v0.3
ghcr.io/yannick/marekvs:debug-sha-95e3fa4
ghcr.io/yannick/marekvs:latest
marekvs v0.3.4: preserve oversized JSON integers and reject invalid diff models
Images
ghcr.io/yannick/marekvs:v0.3.4
ghcr.io/yannick/marekvs:v0.3
ghcr.io/yannick/marekvs:sha-82d2184
ghcr.io/yannick/marekvs:latest
ghcr.io/yannick/marekvs:debug-v0.3.4
ghcr.io/yannick/marekvs:debug-v0.3
ghcr.io/yannick/marekvs:debug-sha-82d2184
ghcr.io/yannick/marekvs:latest
v0.3.3 — reduce idle maintenance CPU
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
marekvs 0.3.2 — range-delete purge, idle reclamation, read-path attribution
Images
ghcr.io/yannick/marekvs:v0.3.2
ghcr.io/yannick/marekvs:v0.3
ghcr.io/yannick/marekvs:sha-b7705d2
ghcr.io/yannick/marekvs:latest
ghcr.io/yannick/marekvs:debug-v0.3.2
ghcr.io/yannick/marekvs:debug-v0.3
ghcr.io/yannick/marekvs:debug-sha-b7705d2
ghcr.io/yannick/marekvs:latest
marekvs 0.3.1 — clean shutdown, ondaDB 0.8.2, compaction-debt backpressure
Images
ghcr.io/yannick/marekvs:v0.3.1
ghcr.io/yannick/marekvs:v0.3
ghcr.io/yannick/marekvs:sha-646326e
ghcr.io/yannick/marekvs:latest
ghcr.io/yannick/marekvs:debug-v0.3.1
ghcr.io/yannick/marekvs:debug-v0.3
ghcr.io/yannick/marekvs:debug-sha-646326e
ghcr.io/yannick/marekvs:latest
v0.3.0 — ondaDB 0.7.8, and Tier 2 complete
Upgrade note: this release is NOT a rolling upgrade. Restart the cluster
together, and make sure every node's MAREKVS_NODE_ID is below 1024.
Storage engine: ondaDB 0.2.0 -> 0.7.8
94 upstream commits. Fixes silent write loss (a compaction could discard a
table a concurrent flush had just installed, after that flush had reclaimed
its WAL); fixes bloom filters that skipped nothing on compacted tables;
removes the process-global mutex that kept point-read throughput flat from
1 to 8 threads. Also brings the lazy k-way memtable merge and range-bounded
iterators that design/09 and design/02 had been asking for.
The upgrade introduced one hazard, fixed in the same change: ondaDB >= 0.7
returns an invalid iterator when an SSTable reader fails to open, which a
bare valid-walk cannot distinguish from an empty range. Anti-entropy would
have published all-zero digests — identical to "this partition is empty".
Scans now report completion, and no caller may treat a short scan as data.
Correctness
- The replication ring allocates its own sequence numbers. It used to stamp
ops with ondaDB's commit_seq, but the hook does not run in seq order, and
the ring's reader assumes a sorted buffer — an out-of-order op could be
filtered out permanently and left to anti-entropy. - HINCRBY is a PN counter (T2-12): concurrent increments on different nodes
all survive. HINCRBYFLOAT stays LWW by design. - List positions are node-salted (T2-13): concurrent cross-node pushes no
longer collide and lose one.
Cluster
- Cold purge after ownership loss (T2-9): reclaims the disk every scale event
used to strand, fenced on a delay, matched anti-entropy rounds, a full
Active owner set, and no active rejoin. - Mesh peer GC (T2-10): departed nodes stop being redialed forever.
- Zone-aware placement (T2-11), opt-in via MAREKVS_ZONE_AWARE: spreads a
partition's replicas across failure domains so one zone cannot hold every
copy. - P0 mesh version/feature negotiation, which is what makes future format
changes rolling.
Operator
- Failures are visible: status conditions for metrics scrape, reconcile, PVC
reclaim and rollout (T2-14). - Health-gated rollouts (T2-15): image changes walk one pod at a time, gated
on underreplicated == 0, not merely on pod readiness. - Leader election over a Lease (T2-16): running two controller replicas is
now safe.
Testing
- The commit-hook contract canary that design/10 called for but which did not
exist. It confirms exactly-once, whole-batch delivery — and disproved the
"in commit order" clause of the documented contract. - Durability tests assert SyncMode::Interval from the persisted config and
from real WAL syncs, with SyncMode::None as the negative control. - Fixed a ~50% flaky oneof-race test that had been comparing different
inputs.
441 tests, no skips. Requires Rust 1.89.
Images
ghcr.io/yannick/marekvs:v0.3.0
ghcr.io/yannick/marekvs:v0.3
ghcr.io/yannick/marekvs:sha-f21bb82
ghcr.io/yannick/marekvs:latest
ghcr.io/yannick/marekvs:debug-v0.3.0
ghcr.io/yannick/marekvs:debug-v0.3
ghcr.io/yannick/marekvs:debug-sha-f21bb82
ghcr.io/yannick/marekvs:latest