Overview
| Comment: | 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. |
|---|---|
| Timelines: | family | ancestors | descendants | both | d4 |
| Files: | files | file ages | folders |
| SHA3-256: |
5526cf353619e9b22a77e3b54bf4a299 |
| User & Date: | dmestas on 2026-07-16 06:53:42.390 |
| Other Links: | branch diff | manifest | tags |
Context
|
2026-07-16
| ||
| 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]