Repository navigation
Ensure identical timestamp files are compared by content - #2063
Merged
Merged
Conversation
This was referenced May 5, 2026
oferchen
added a commit
that referenced
this pull request
May 5, 2026
Translate zsync librcksum's bithash mechanism into oc-rsync without touching the wire. Establish the bit-array shape and the BITHASHBITS=3 sizing rationale, name the exact insertion points in the existing index, fix the bit-mixing function on the 32-bit packed rolling sum, restate the no-missed-match property invariant, and list every layer the change must keep byte-identical to upstream 3.0.9 / 3.1.3 / 3.4.1. Bench scaffolding is cfg-gated and never reaches a CLI flag. Implementation is tracked in #2060/#2061; tests in #2062; bench in #2063.
6 tasks
oferchen
added a commit
that referenced
this pull request
May 5, 2026
#3723) Add design note for the canonical zsync-style insertion adversary at docs/design/zsync-shifted-insertion-test.md, pinning the public-API guard for the four pipeline optimizations enumerated in docs/design/zsync-inspired-matching.md (#2053). Documents the fixture parameters, expected match output for aligned vs unaligned regimes, the upstream rsync --stats comparison oracle, CI integration gated by SIMD parity (#2077), and the failure modes (signed-byte regression #2076 class, off-by-one in seek, bithash false negative #2061-#2063 class, want_i hint off-by-one, rolling-window reset bugs, strong-checksum truncation drift, ring-buffer wrap bugs). Cites the existing fixture at crates/match/tests/shifted_insertion_fixture.rs, the sibling rsum-collision fixture from #2078, and the rolling sign-extension fix from PR #3560 (commit 723a0a0).
7 of 8 tasks
oferchen
added a commit
that referenced
this pull request
May 16, 2026
…2067, #2071) Adds three Criterion harnesses under a new internal `bench-internal` feature flag that exposes the minimum surface needed to measure the zsync-inspired matching insertion points without affecting release builds: - `bithash_rejection` (#2063): measures the bithash prefilter rejection rate at 1/16/128 MiB basis sizes, on matching and random targets. Reports static utilization plus observed post-tag rejection rate. - `seq_match_redundant` (#2067): measures `generate_delta` throughput on log-file, tar-archive, and random-control corpora with a target that is basis plus a handful of small mutations, exercising the `want_i` adjacent-match hint path. - `prune_duplicate_heavy` (#2071): measures match throughput with the matched-block pruning bitmap on and off across a zero-heavy VM-disk-style basis, a repeated-blocks synthetic corpus, and a no-duplicates regression control. The new feature exposes only bench-only accessors (`bithash_utilization`, `bithash_admits`, `tag_admits`) and the prune toggle (`with_prune_matched`). It is never enabled by default, never propagated to CLI/daemon, and there is no way to turn it on from a release `oc-rsync` invocation.
oferchen
added a commit
that referenced
this pull request
May 16, 2026
…2067, #2071) (#4177) Adds three Criterion harnesses under a new internal `bench-internal` feature flag that exposes the minimum surface needed to measure the zsync-inspired matching insertion points without affecting release builds: - `bithash_rejection` (#2063): measures the bithash prefilter rejection rate at 1/16/128 MiB basis sizes, on matching and random targets. Reports static utilization plus observed post-tag rejection rate. - `seq_match_redundant` (#2067): measures `generate_delta` throughput on log-file, tar-archive, and random-control corpora with a target that is basis plus a handful of small mutations, exercising the `want_i` adjacent-match hint path. - `prune_duplicate_heavy` (#2071): measures match throughput with the matched-block pruning bitmap on and off across a zero-heavy VM-disk-style basis, a repeated-blocks synthetic corpus, and a no-duplicates regression control. The new feature exposes only bench-only accessors (`bithash_utilization`, `bithash_admits`, `tag_admits`) and the prune toggle (`with_prune_matched`). It is never enabled by default, never propagated to CLI/daemon, and there is no way to turn it on from a release `oc-rsync` invocation.
4 tasks
oferchen
added a commit
that referenced
this pull request
May 18, 2026
Translate zsync librcksum's bithash mechanism into oc-rsync without touching the wire. Establish the bit-array shape and the BITHASHBITS=3 sizing rationale, name the exact insertion points in the existing index, fix the bit-mixing function on the 32-bit packed rolling sum, restate the no-missed-match property invariant, and list every layer the change must keep byte-identical to upstream 3.0.9 / 3.1.3 / 3.4.1. Bench scaffolding is cfg-gated and never reaches a CLI flag. Implementation is tracked in #2060/#2061; tests in #2062; bench in #2063.
oferchen
added a commit
that referenced
this pull request
May 18, 2026
#3723) Add design note for the canonical zsync-style insertion adversary at docs/design/zsync-shifted-insertion-test.md, pinning the public-API guard for the four pipeline optimizations enumerated in docs/design/zsync-inspired-matching.md (#2053). Documents the fixture parameters, expected match output for aligned vs unaligned regimes, the upstream rsync --stats comparison oracle, CI integration gated by SIMD parity (#2077), and the failure modes (signed-byte regression #2076 class, off-by-one in seek, bithash false negative #2061-#2063 class, want_i hint off-by-one, rolling-window reset bugs, strong-checksum truncation drift, ring-buffer wrap bugs). Cites the existing fixture at crates/match/tests/shifted_insertion_fixture.rs, the sibling rsum-collision fixture from #2078, and the rolling sign-extension fix from PR #3560 (commit 723a0a0).
oferchen
added a commit
that referenced
this pull request
May 18, 2026
…2067, #2071) (#4177) Adds three Criterion harnesses under a new internal `bench-internal` feature flag that exposes the minimum surface needed to measure the zsync-inspired matching insertion points without affecting release builds: - `bithash_rejection` (#2063): measures the bithash prefilter rejection rate at 1/16/128 MiB basis sizes, on matching and random targets. Reports static utilization plus observed post-tag rejection rate. - `seq_match_redundant` (#2067): measures `generate_delta` throughput on log-file, tar-archive, and random-control corpora with a target that is basis plus a handful of small mutations, exercising the `want_i` adjacent-match hint path. - `prune_duplicate_heavy` (#2071): measures match throughput with the matched-block pruning bitmap on and off across a zero-heavy VM-disk-style basis, a repeated-blocks synthetic corpus, and a no-duplicates regression control. The new feature exposes only bench-only accessors (`bithash_utilization`, `bithash_admits`, `tag_admits`) and the prune toggle (`with_prune_matched`). It is never enabled by default, never propagated to CLI/daemon, and there is no way to turn it on from a release `oc-rsync` invocation.
oferchen
added a commit
that referenced
this pull request
May 18, 2026
…2067, #2071) (#4177) Adds three Criterion harnesses under a new internal `bench-internal` feature flag that exposes the minimum surface needed to measure the zsync-inspired matching insertion points without affecting release builds: - `bithash_rejection` (#2063): measures the bithash prefilter rejection rate at 1/16/128 MiB basis sizes, on matching and random targets. Reports static utilization plus observed post-tag rejection rate. - `seq_match_redundant` (#2067): measures `generate_delta` throughput on log-file, tar-archive, and random-control corpora with a target that is basis plus a handful of small mutations, exercising the `want_i` adjacent-match hint path. - `prune_duplicate_heavy` (#2071): measures match throughput with the matched-block pruning bitmap on and off across a zero-heavy VM-disk-style basis, a repeated-blocks synthetic corpus, and a no-duplicates regression control. The new feature exposes only bench-only accessors (`bithash_utilization`, `bithash_admits`, `tag_admits`) and the prune toggle (`with_prune_matched`). It is never enabled by default, never propagated to CLI/daemon, and there is no way to turn it on from a release `oc-rsync` invocation.
oferchen
added a commit
that referenced
this pull request
Aug 24, 2026
Translate zsync librcksum's bithash mechanism into oc-rsync without touching the wire. Establish the bit-array shape and the BITHASHBITS=3 sizing rationale, name the exact insertion points in the existing index, fix the bit-mixing function on the 32-bit packed rolling sum, restate the no-missed-match property invariant, and list every layer the change must keep byte-identical to upstream 3.0.9 / 3.1.3 / 3.4.1. Bench scaffolding is cfg-gated and never reaches a CLI flag. Implementation is tracked in #2060/#2061; tests in #2062; bench in #2063.
oferchen
added a commit
that referenced
this pull request
Aug 24, 2026
#3723) Add design note for the canonical zsync-style insertion adversary at docs/design/zsync-shifted-insertion-test.md, pinning the public-API guard for the four pipeline optimizations enumerated in docs/design/zsync-inspired-matching.md (#2053). Documents the fixture parameters, expected match output for aligned vs unaligned regimes, the upstream rsync --stats comparison oracle, CI integration gated by SIMD parity (#2077), and the failure modes (signed-byte regression #2076 class, off-by-one in seek, bithash false negative #2061-#2063 class, want_i hint off-by-one, rolling-window reset bugs, strong-checksum truncation drift, ring-buffer wrap bugs). Cites the existing fixture at crates/match/tests/shifted_insertion_fixture.rs, the sibling rsum-collision fixture from #2078, and the rolling sign-extension fix from PR #3560 (commit 723a0a0).
oferchen
added a commit
that referenced
this pull request
Aug 24, 2026
…2067, #2071) (#4177) Adds three Criterion harnesses under a new internal `bench-internal` feature flag that exposes the minimum surface needed to measure the zsync-inspired matching insertion points without affecting release builds: - `bithash_rejection` (#2063): measures the bithash prefilter rejection rate at 1/16/128 MiB basis sizes, on matching and random targets. Reports static utilization plus observed post-tag rejection rate. - `seq_match_redundant` (#2067): measures `generate_delta` throughput on log-file, tar-archive, and random-control corpora with a target that is basis plus a handful of small mutations, exercising the `want_i` adjacent-match hint path. - `prune_duplicate_heavy` (#2071): measures match throughput with the matched-block pruning bitmap on and off across a zero-heavy VM-disk-style basis, a repeated-blocks synthetic corpus, and a no-duplicates regression control. The new feature exposes only bench-only accessors (`bithash_utilization`, `bithash_admits`, `tag_admits`) and the prune toggle (`with_prune_matched`). It is never enabled by default, never propagated to CLI/daemon, and there is no way to turn it on from a release `oc-rsync` invocation.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Testing
[Codex Task](