Skip to content
zit Check-in [10c905d27b]
Login

Check-in [10c905d27b]

Overview
Comment:serve: mint clusters on a pull reply (zit#184)

Once a pull finds 100 or more held artifacts no cluster names, fold them into cluster artifacts — sorted, 800 M cards each, md5 Z — at fossil's create_cluster point and thresholds. They persist with the round and extend the index; the next reply announces the clusters, not the members. A zit-born repository clusters itself the first time anyone pulls from it: 161 artifacts, one cluster, 201 bytes on the next pull.

Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 10c905d27be61447fb892ac658d20cd4d84ac32e9ced3f707ae4be46d82a9c39
User & Date: dmestas on 2026-09-11 18:43:18.689
Original Comment: serve: mint clusters on a pull reply (zit#184)

Once a pull finds 100 or more held artifacts no cluster names, fold them into cluster artifacts — sorted, 800 M cards each, md5 Z — at fossil's create_cluster point and thresholds. They persist with the round and extend the index; the next reply announces the clusters, not the members. A zit-born repository clusters itself the first time anyone pulls from it: 161 artifacts, one cluster, 201 bytes on the next pull.

Claude-Session: https://claude.ai/code/session_012nQaKBcWubjiLpSvLZ9gi4

Other Links: manifest | tags
Context
2026-09-11
18:49
0.3.12: version bump and release notes check-in: 5a962c69ff user: dmestas tags: trunk, version-0.3.12
18:43
serve: mint clusters on a pull reply (zit#184)

Once a pull finds 100 or more held artifacts no cluster names, fold them into cluster artifacts — sorted, 800 M cards each, md5 Z — at fossil's create_cluster point and thresholds. They persist with the round and extend the index; the next reply announces the clusters, not the members. A zit-born repository clusters itself the first time anyone pulls from it: 161 artifacts, one cluster, 201 bytes on the next pull. check-in: 10c905d27b user: dmestas tags: trunk

17:52
sync: announce only what no held cluster names (zit#184)

A pull or push announced every held artifact with igot, every round — 1.25M lines, ~63 MB per direction on pkgsrc. Clusters are igot in bulk: index the held clusters (.zit-cache/clusters, keyed to the log prefix, kept warm by persist), announce held minus what they name, seed the promises they made that this repository never collected, absorb pushed clusters server-side so the reply begs for their members, and honour send-catalog (full inventory) and req-clusters (enclosed cluster igots). A no-op pkgsrc pull now sends 4.7 KB. Cluster promises the peer cannot keep are a warning, not a failed pull. No format changed. check-in: e1ca72a8ef user: dmestas tags: trunk

Changes