Skip to content

docs(design): zsync matched-block pruning with duplicate-block correctness - #3644

Merged
oferchen merged 1 commit into
masterfrom
docs/zsync-prune-2068
May 5, 2026
Merged

oferchen merged 1 commit into
masterfrom
docs/zsync-prune-2068

Conversation

@oferchen

@oferchen oferchen commented May 5, 2026

Copy link
Copy Markdown
Owner

Sub-design for the prune insertion point of docs/design/zsync-inspired-matching.md (#2068, blocking impl #2069, proptest #2070, benchmark #2071).

Sections

Wire-compat invariants

Confirmed unchanged: crates/protocol/tests/golden/, tools/ci/run_interop.sh, tcpdump-captured payloads, no new flag in crates/cli/, no protocol-crate change.

Scope

Docs only. Single new file docs/design/zsync-prune.md (466 lines). No code or test changes; no other paths touched.

…tness

Sub-design for the prune insertion point of
`docs/design/zsync-inspired-matching.md` (#2068, blocking impl #2069,
proptest #2070, benchmark #2071).

Covers what zsync does at write_blocks (rsum.c:109-119) and how
oc-rsync mirrors it inside crates/match/. Pins the insertion to the
inner-loop COPY emit at generator.rs:214. Specifies the MatchedBlocks
bitmap (1 bit per signature block, 128 B at 1k blocks, 12.5 MB at
100M), placement alongside DeltaSignatureIndex, and the extended probe
order (bithash -> tag_table -> bucket lookup -> bitmap filter ->
strong-checksum). Spells out duplicate-bucket correctness with a
worked example, the property-test contract, and the bench corpora
(VM disk images, log tarballs, synthetic). Restates the wire-compat
invariants and the no-CLI/no-protocol cleanup contract.
@github-actions github-actions Bot added the documentation Improvements or additions to documentation label May 5, 2026
@oferchen
oferchen merged commit 2794376 into master May 5, 2026
8 checks passed
@oferchen
oferchen deleted the docs/zsync-prune-2068 branch May 5, 2026 09:37
oferchen added a commit that referenced this pull request May 18, 2026
…tness (#3644)

Sub-design for the prune insertion point of
`docs/design/zsync-inspired-matching.md` (#2068, blocking impl #2069,
proptest #2070, benchmark #2071).

Covers what zsync does at write_blocks (rsum.c:109-119) and how
oc-rsync mirrors it inside crates/match/. Pins the insertion to the
inner-loop COPY emit at generator.rs:214. Specifies the MatchedBlocks
bitmap (1 bit per signature block, 128 B at 1k blocks, 12.5 MB at
100M), placement alongside DeltaSignatureIndex, and the extended probe
order (bithash -> tag_table -> bucket lookup -> bitmap filter ->
strong-checksum). Spells out duplicate-bucket correctness with a
worked example, the property-test contract, and the bench corpora
(VM disk images, log tarballs, synthetic). Restates the wire-compat
invariants and the no-CLI/no-protocol cleanup contract.
oferchen added a commit that referenced this pull request Aug 24, 2026
…tness (#3644)

Sub-design for the prune insertion point of
`docs/design/zsync-inspired-matching.md` (#2068, blocking impl #2069,
proptest #2070, benchmark #2071).

Covers what zsync does at write_blocks (rsum.c:109-119) and how
oc-rsync mirrors it inside crates/match/. Pins the insertion to the
inner-loop COPY emit at generator.rs:214. Specifies the MatchedBlocks
bitmap (1 bit per signature block, 128 B at 1k blocks, 12.5 MB at
100M), placement alongside DeltaSignatureIndex, and the extended probe
order (bithash -> tag_table -> bucket lookup -> bitmap filter ->
strong-checksum). Spells out duplicate-bucket correctness with a
worked example, the property-test contract, and the bench corpora
(VM disk images, log tarballs, synthetic). Restates the wire-compat
invariants and the no-CLI/no-protocol cleanup contract.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant