8000 Tags · goliajp/kevy · GitHub
[go: up one dir, main page]

Skip to content

Tags

Tags

v6.4.0

Toggle v6.4.0's commit message
kevy 6.4.0 — the quality release: what a reader can check, and what a…

… gate can

v6.3.0

Toggle v6.3.0's commit message
kevy 6.3.0 — the opponents, pinned; and three gaps they exposed

CONFIG SET notify-keyspace-events reaches the wire: keyspace notifications
worked from the config file and had no RESP path to them, so Spring Data's
expiry listener and the socket.io adapter met 'unknown parameter' on
connect.

Four RESP3 reply shapes now match Redis 8.10.1 — ZPOPMIN, ZADD INCR and
GEOPOS send doubles, SPOP with a count sends a set — found by a gate that
asks the pinned Redis which verbs change shape rather than trusting a
list. HRANDFIELD is new; it was the fifth thing that gate named, and it
did not exist.

GEOPOS on a wrong-typed key wrote an array header and then an error into
one reply. It answers WRONGTYPE and nothing else, as Redis does.

Ten benchmark anchors are pinned to an exact version and checked against
each upstream's latest stable, including four client libraries that had
been frozen since 2024 or carried no version at all. All 599 commands the
pinned Redis serves are now classified: 256 exempt with a reason, 81 owned
by an RFC, zero unclassified, on a ratchet.

v6.2.2

Toggle v6.2.2's commit message
v6.2.2 — a persist dir refuses a second engine instead of letting it …

…corrupt the AOF; the replay summary survives a file that grew during replay

v6.2.1

Toggle v6.2.1's commit message
v6.2.1 — kevy-client and kevy-client-async reach crates.io at the eng…

…ine's version; every crate inherits the workspace version; the publish loop compares manifests before it skips

v6.2.0

Toggle v6.2.0's commit message
kevy 6.2.0 — a sorted set stopped rewriting an index it had not changed

-0 and 0 are one score, as they are in Redis: a member stored at -0 used
to sort before members scored 0 and now ties with them, the member name
breaking the tie. ZSCORE is unchanged.

ZADD no longer removes a member from the rank tree and inserts it back
when its score has not moved — +52.8% at eight thousand members, +55.3% at
two hundred thousand, and 1.19x against Redis 8 on the arena cell that the
6.0.0 ledger recorded as a tie.

rustfmt across 752 files, with fmtgate in CI to keep it applied.

Six gates that were green about nothing, each found in a working check.

v6.1.0

Toggle v6.1.0's commit message
v6.1.0 — what the release was actually checked by

Thirty of the suite's eighty-five checks had no evidence of running
against the tree v6.0.0 shipped from. Twenty-three could be run here and
were: sixteen gates that had never seen this tree came back green, and no
engine defect was found.

Five instruments were wrong instead. drill_mailrs reported that
crash-resume loses twelve thousand keys with zero errors, and was itself
the cause — `wait` cannot wait for a process started in a subshell, so a
new server bound the same port beside a dying one and SO_REUSEPORT split
the writes between them. onrampgate reported a slow engine it had never
connected to. upgrade-prep computed a version that cannot exist for the
first release of a major line. kevy-vlog carried a second CRC32C against
its own dependency's stated design. Two unstable dead-set declarations
turned out to be decorative.

And bump_version.py knew fewer version layers than the gate that checks
it — the three bindings tables and CMake — which the gate caught, as
designed.

v6.0.0

Toggle v6.0.0's commit message
kevy v6.0.0 — the instruments

v6's charter was a clean architecture: solid stones, quality and
documentation and performance at their limit, no dead code, no complex
implementation of something a simple one already does. This release is
the equipment built for that, the defects the equipment found, and the
fourteen Redis commands one of those instruments turned up.

Fourteen commands the engine already had and the wire did not: SETBIT,
GETBIT, BITCOUNT, BITPOS, BITOP, GETRANGE, SETRANGE, LINSERT, COPY,
TOUCH, TIME, GETEX, ZREVRANGE, HINCRBYFLOAT. COPY and BITOP each have a
cross-shard orchestrator; TOUCH turned out to be EXISTS.

`INFO stats` reports `client_query_buffer_limit_disconnections`.
`CONFIG GET dir` answers with the directory the server writes to.

A BITOP result that was durable and unreplicated. An MGET that errored
where its own documentation said it answers nil. Two error sentences the
wire and the embedded facade disagreed on. Thirteen unreachable regions
in the hottest dispatch table. Two OP_TABLE notification columns that
had never been asked. And a range clamp that answered the last element
where Redis answers nothing — found only by asking a real valkey,
because both of kevy's own surfaces shared the mistake.

The compatibility headline is derived from the corpus now rather than
written by hand: 94 commands reply-checked byte-for-byte against a real
valkey 9.1 and a real redis 7.4. The wire-versus-facade differential
holds 306 of 310 lines byte-identical, with every divergence named.

Nothing here is a compatibility break.

v5.4.1

Toggle v5.4.1's commit message
kevy 5.4.1 — the packed row, on

5.4.0 shipped the packed row switched off for three reasons. Each was then
measured and each fell. This turns it on, and the rest of the release is the
measuring.

Changed — `packed-rows` defaults on. A declared table's row is one
allocation. Set `packed-rows no` for 5.4.0's representation; neither the wire
nor the on-disk formats move either way.

The three reasons, and what happened to them:

- "the adoption path costs memory" was true only of a probe that never read a
  row back. The saving is collected on reads, not writes: a query phase after
  the load adds 359 bytes a row to the general form and 56 to the packed one,
  flipping the same measurement from +12.4% to -3.4%. Four other candidates
  for that sign difference — the index backfill's allocations, shard count,
  scale, pipelined loading — were each measured and refuted first.
- "the sign difference is unexplained" was the same thing.
- "it stops tiering demoting" held at half a million rows because the store
  had room. At three million against a 512 MB budget it demotes 2,998,956
  keys, more than the general form's 2,994,126, with nothing evicted.

Fixed — the repository's NPM_TOKEN was invalid, which is why 5.4.0's npm
publish failed with a 404 on PUT.

Gates — secretgate: no credential tracked or staged, no token literal in
tracked content. A stash of .gitignore during the 5.4.0 release took a
credential's protection away and left the file behind; the rule now lives in
.git/info/exclude and the gate checks the outcome, since `git add -f` beats
any ignore file. Two tests stopped hiding their own evidence: one discarded
its server's output, one had a wait budget that had just expired on a real
machine.

Measured, not changed — three findings ship as documentation because the
measurement said build nothing: the tiering budget sits 2-3x from resident
memory and that is glibc's arena with no known recovery; an index costs 670
bytes a row and decomposes cleanly at 256 scalar plus 412 composite, a
composite index being 1.6x a scalar one that nobody had measured; and A2,
carried as the largest remaining memory item at 24.6% of the store, is worth
about 52 bytes a row and was stopped by the Pre-Phase-B gate before any code
was written.

v5.4.0

Toggle v5.4.0's commit message
kevy 5.4.0 — use the declaration

TABLE.DECLARE tells the server a table's whole shape and persists it, and
the implementation went on storing those rows as if it had never been told.
This release is one representation decision applied where the declaration
was being ignored — plus the defects that finding it turned up, several
older than the work.

Added — the packed row: a declared table's row as one allocation, its column
values in declared order behind a small offset table, no per-row hash table
and no field names stored. Off by default (`packed-rows`). Measured over two
million rows, three interleaved passes: RSS -13.5 / -5.1 / -12.7 % with the
AOF off / everysec / always, +4.6 % with tiering, load unchanged, list page
about 7 % dearer.

Fixed — a 47 ms write p99 at one client under `appendfsync always`, a
regression this project shipped in 5.2 and 5.3 without measuring it. An
OP_AOF completion that moves the durable watermark now counts as work, so
the shard cannot park before the arming pass that releases the held reply.
47,748 -> 3,294 us at the default park timeout.

Fixed — a covering VALUES copy outlived the field it copies.

Changed — the list page merges the shards' already-sorted pages instead of
sorting their union.

The RDS comparison is restated in three languages, because the numbers it
published were measured with kevy asking for no columns against SQL that
selected several, and with the table declaring six of the seven columns its
rows carry. The index lookup published as PostgreSQL being 1.7x faster is a
tie within 4 %.

Nothing changes on the wire; every 5.3 data directory opens as-is in both
directions.
0