Overview
| Comment: | Stop buffering the whole repository's reconstructed plaintext in RAM during clone: store received frames wire-backed and verify each durable frame's section 7.7 hash against its log-basis reconstruction (sync 7.2/7.4), cutting a sqlite clone's peak memory from 14.2 GB to 291 MB with a byte-identical store and a matching trunk hash. |
|---|---|
| Timelines: | family | ancestors | descendants | both | stream-clone |
| Files: | files | file ages | folders |
| SHA3-256: |
9a18bdd63de2783c45c6fb0a9ff81790 |
| User & Date: | dmestas on 2026-07-16 21:08:35.060 |
| Other Links: | branch diff | manifest | tags |
Context
|
2026-07-16
| ||
| 21:10 | Merge stream-clone: cut clone peak memory 14.2 GB -> 291 MB (fossil parity) by storing received frames wire-backed instead of buffering the whole repo's reconstructed plaintext, with section 7.7 verification moved onto the log-basis reconstruction path (a stronger round-trip parity guard). check-in: 77e2541742 user: dmestas tags: trunk | |
| 21:08 | Stop buffering the whole repository's reconstructed plaintext in RAM during clone: store received frames wire-backed and verify each durable frame's section 7.7 hash against its log-basis reconstruction (sync 7.2/7.4), cutting a sqlite clone's peak memory from 14.2 GB to 291 MB with a byte-identical store and a matching trunk hash. closed check-in: 9a18bdd63d user: dmestas tags: stream-clone | |
| 20:06 | Create new branch named "stream-clone" check-in: 14f733376d user: dmestas tags: stream-clone | |
Changes
Modified src/main.zig
from [2d3f23acbc]
to [36441ef23f].
[diff]
Modified src/repostate.zig
from [bb6a04c389]
to [7c79ab5ec4].
[diff]
Modified src/sync.zig
from [f13e6cb850]
to [3a074622e4].
[diff]
Modified src/sync_test.zig
from [02c85730cb]
to [5a63862168].
[diff]