Skip to content
zit Check-in [a18d2edd67]
Login

Check-in [a18d2edd67]

Overview
Comment:derive: a disposition sidecar skips what cannot contribute a record (zit#182)

One bit per log frame in .zit-cache/dispositions: crosslink-relevant or not. A full derive consults it and never reconstructs the file blobs and SUBMANIFEST tree nodes that were most of a wide store's walk; the walk distills a fresh map either way. Same trust tier as the log-scan index: self-checksummed, keyed to a validated log prefix, stamped with the shun fingerprint, absent on any doubt. pkgsrc submanifest cold derive 302 s to 22 s; a consuming derive's body is byte-identical, pinned by test.

Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: a18d2edd67a55f437e06eea1e8b66cdf33d977b3fe7b01b0253587f0075815d2
User & Date: dmestas on 2026-09-09 20:04:49.001
Other Links: manifest | tags
Context
2026-09-09
22:53
0.3.10: version bump and release notes check-in: 77f89b0bec user: dmestas tags: trunk, version-0.3.10
20:04
derive: a disposition sidecar skips what cannot contribute a record (zit#182)

One bit per log frame in .zit-cache/dispositions: crosslink-relevant or not. A full derive consults it and never reconstructs the file blobs and SUBMANIFEST tree nodes that were most of a wide store's walk; the walk distills a fresh map either way. Same trust tier as the log-scan index: self-checksummed, keyed to a validated log prefix, stamped with the shun fingerprint, absent on any doubt. pkgsrc submanifest cold derive 302 s to 22 s; a consuming derive's body is byte-identical, pinned by test. check-in: a18d2edd67 user: dmestas tags: trunk

17:58
derive: write the cache in place, never a second copy (zit#182)

repocache.store and checkpoint.store concatenated header + body + image into a full resident copy before writing; both now stream the pieces to the file with the checksum folded incrementally, byte-identical output. The clone path frees its view before the reopen builds a second derived state. ZIT_DERIVE_FOOTPRINT reports the derive body's composition. pkgsrc cold open: peak RSS 2.32 GB to 2.07 GB. check-in: 3107e23e24 user: dmestas tags: trunk

Changes