Artifact c6117926c21f60ca598855d2fe1c551e13b499d6d095087568aa65c67e0ef316:
- File
internal/sync/clone_shun_test.go
-
2026-10-28 11:11:21
— part of check-in
[917bcc9830]
on branch fix/seed-delta-drop
— seedcheck: drop a seed completed as a delta in a later round
A horizon seed stored as a delta whose base arrived only in a later round (pull, clone) or a later request (origin push) was refused by its hash but kept in the store, and a pull or clone counted the delta as received on arrival, before it could be judged (draft-fossil-horizon-00 ยง5.2.3, HZ-5.2-14).
On a seed verdict seedcheck now rewrites each delta built on the seed as full text, then empties the seed's row: size -1, no content, no delta link, and kept out of the phantom table so no request asks for it. The rid stays held for anything a receive pass tracks by it, and the refused hash is still recorded in store-local state.
A pull or clone counts a delta it could not read on arrival only at the end of the exchange, once readable and not dropped. A round still treats it as progress. The receive pass treats a row without content as no basis even when its cache holds the old bytes, and the push handler's same-request seed check consults the refused hash, since the dropped row no longer reads.
HZ-5.2-14 is now covered. (user: [email protected], size: 2732) [annotate] [blame] [check-ins using]
-
2026-10-28 14:07:23
— part of check-in
[93cf3b65f6]
on branch main
— Merge pull request #515 from danmestas/fix/seed-delta-drop
seedcheck: drop a seed completed as a delta in a later round (user: [email protected], size: 2732) [annotate] [blame] [check-ins using]
- 2026-10-28 14:24:28 — part of check-in [5ca59e4ee3] on branch main — Merge remote-tracking branch 'origin/main' into perf/cone-clone-resend (user: [email protected], size: 2732) [annotate] [blame] [check-ins using]
- 2026-10-28 14:24:28 — part of check-in [a40dd502cd] on branch main — Merge remote-tracking branch 'origin/main' into perf/cone-clone-rounds (user: [email protected], size: 2732) [annotate] [blame] [check-ins using]
-
2026-10-28 11:11:21
— part of check-in
[917bcc9830]
on branch fix/seed-delta-drop
— seedcheck: drop a seed completed as a delta in a later round