Overview
| Comment: | Retain received cfiles verbatim on the clone client: store each artifact's received container or delta as-is after verifying its hash over the reconstructed content, so delta compactness survives clone-of-clone and client disk roughly halves — and reject a lying-named push the server previously accepted. |
|---|---|
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA3-256: |
a5ef5d18c0779dee60cd40bb02b8102a |
| User & Date: | dmestas on 2026-07-16 07:05:19.332 |
| Other Links: | manifest | tags |
Context
|
2026-07-16
| ||
| 07:28 | Extract the sync 4.1 zlib container codec into one leaf module: the three copies had drifted — logstore and repostate rejected valid containers whose zlib stream decodes to fewer bytes than the declared capacity, stricter than 4.1's output-capacity semantics — so unify on the spec-correct decode and retire the duplication. check-in: 0b8ff7a1f8 user: dmestas tags: trunk | |
| 07:23 | Extract the §4.1 zlib container codec into one leaf module (src/container.zig) so logstore, repostate, and sync share a single §4.1-capacity-semantics implementation instead of three drifting copies. closed check-in: 0e5cc09150 user: dmestas tags: container | |
| 07:05 | Retain received cfiles verbatim on the clone client: store each artifact's received container or delta as-is after verifying its hash over the reconstructed content, so delta compactness survives clone-of-clone and client disk roughly halves — and reject a lying-named push the server previously accepted. check-in: a5ef5d18c0 user: dmestas tags: trunk | |
| 06:53 | Retain received cfile containers and deltas verbatim on the clone client so delta compactness survives a clone-of-clone, verifying each reconstructed artifact's hash at the persist commit hook before storing the wire form rather than re-expanding every received delta to full form. closed check-in: 5526cf3536 user: dmestas tags: d4 | |
| 06:13 | Speed up repo-state derivation on open: replace the O(N-squared) crosslink scans with parent/child/tag adjacency indexes, verify each frame's whole-frame CRC once at scan instead of twice per verb, and cache delta bases during the derivation sweep — cutting the algorithmic crosslink term over 100x with byte-identical derived state. check-in: baa7053ee1 user: dmestas tags: trunk | |
Changes
Modified src/logstore.zig
from [87e997c326]
to [f7b0eff9ac].
[diff]
Modified src/logstore_test.zig
from [3d88e9d905]
to [b1141d97bb].
[diff]
Modified src/main.zig
from [d9ba7d021d]
to [b612149f13].
[diff]
Modified src/repostate.zig
from [04f6125ecb]
to [c2cd266407].
[diff]
Modified src/repostate_test.zig
from [559a7f2516]
to [0333453b73].
[diff]
Modified src/sync.zig
from [b9281546d2]
to [6f4333d656].
[diff]
Modified src/sync_benchmark.zig
from [053c44e967]
to [ae09cb1675].
[diff]
Modified src/sync_test.zig
from [c6e9ae2d7d]
to [f9582f1efc].
[diff]