Odin/crates
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Meta Vens 6786faa430 Odin Cut 3: a stored document the server could never serve is dropped at activation
Odin's store carried two ~1.456 MB Eve records that no snapshot response
could ever return (the server sends at most max_snapshot_response_bytes,
1 MiB), and every write rewrote them. Under Q3 B every put writes the
store, so they cost a ~3 MB write per put.

At activation, each stored peer document is sized as the server would
answer a snapshot of it alone: the same encoder, the shortest message id.
One larger than the server's limit is dropped from the working set and
logged by type, key and size; the first write removes it from the file.
The limit is the server's own option, handed to RuntimeState where main
builds the server, so the two cannot disagree. Presences and records the
catalog does not serve are not checked.

Q1 A (refuse the unservable), Q2 (the two records are dead residue). The
CultLib half, refusing such a put at the server, is its own cut.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-30 16:50:09 +02:00
..
odin-core odin-core: keep the cultnet-rs dependency (cultmesh_documents! expands to it) 2026-09-30 00:22:45 +02:00
odin-daemon Odin Cut 3: a stored document the server could never serve is dropped at activation 2026-09-30 16:50:09 +02:00