Skip to content

Ensure delete mode verifies file content - #2081

Merged
oferchen merged 1 commit into
masterfrom
fix-test-failure-in-execute_with_delete
Nov 8, 2025
Merged

oferchen merged 1 commit into
masterfrom
fix-test-failure-in-execute_with_delete

Conversation

@oferchen

@oferchen oferchen commented Nov 8, 2025 •

Copy link
Copy Markdown
Owner

Summary

  • require checksum verification whenever a deletion mode is enabled before reusing an existing destination file
  • drop an unused DeleteTiming import after the verification rule change

Testing

  • cargo test -p oc-rsync-engine execute_with_delete_removes_extraneous_entries -- --nocapture

[Codex Task](

@oferchen
oferchen merged commit 814369a into master Nov 8, 2025
@oferchen
oferchen deleted the fix-test-failure-in-execute_with_delete branch November 8, 2025 19:34
oferchen added a commit that referenced this pull request May 7, 2026
…#3933)

Document the four wire-compatible zsync-inspired matching speedups
(bithash prefilter #2059-2062, seq-match extend-run #2064-2066,
matched-block pruning #2068-2070, compact-keys layout #2072-2073)
with CHANGELOG snippets, a release notes block, an anti-spec
forbidding wire-feature advertisement, and a placeholder for
benchmark numbers pending #2081 and #2082.
oferchen added a commit that referenced this pull request May 17, 2026
…2081)

Add a Criterion bench that exercises the rolling-hash + strong-checksum
match-index path on a medium 100 MiB corpus with ~5% of bytes flipped at
deterministic offsets. Three cells cover the basis signature build, the
target match scan against a pre-built index, and the full end-to-end
delta-emission round.

The corpus uses an in-place flip variant (block alignment preserved) so
the match-index path itself dominates the measurement, mirroring the
corpus style already used by prune_duplicate_heavy and bithash_rejection.
Sample size is held to 10 with a 5 s measurement window to stay well
under the 5-minute-per-iteration ceiling on commodity hardware.
oferchen added a commit that referenced this pull request May 17, 2026
…2081) (#4243)

Add a Criterion bench that exercises the rolling-hash + strong-checksum
match-index path on a medium 100 MiB corpus with ~5% of bytes flipped at
deterministic offsets. Three cells cover the basis signature build, the
target match scan against a pre-built index, and the full end-to-end
delta-emission round.

The corpus uses an in-place flip variant (block alignment preserved) so
the match-index path itself dominates the measurement, mirroring the
corpus style already used by prune_duplicate_heavy and bithash_rejection.
Sample size is held to 10 with a 5 s measurement window to stay well
under the 5-minute-per-iteration ceiling on commodity hardware.
oferchen added a commit that referenced this pull request May 18, 2026
…#3933)

Document the four wire-compatible zsync-inspired matching speedups
(bithash prefilter #2059-2062, seq-match extend-run #2064-2066,
matched-block pruning #2068-2070, compact-keys layout #2072-2073)
with CHANGELOG snippets, a release notes block, an anti-spec
forbidding wire-feature advertisement, and a placeholder for
benchmark numbers pending #2081 and #2082.
oferchen added a commit that referenced this pull request May 18, 2026
…2081) (#4243)

Add a Criterion bench that exercises the rolling-hash + strong-checksum
match-index path on a medium 100 MiB corpus with ~5% of bytes flipped at
deterministic offsets. Three cells cover the basis signature build, the
target match scan against a pre-built index, and the full end-to-end
delta-emission round.

The corpus uses an in-place flip variant (block alignment preserved) so
the match-index path itself dominates the measurement, mirroring the
corpus style already used by prune_duplicate_heavy and bithash_rejection.
Sample size is held to 10 with a 5 s measurement window to stay well
under the 5-minute-per-iteration ceiling on commodity hardware.
oferchen added a commit that referenced this pull request May 18, 2026
…2081) (#4243)

Add a Criterion bench that exercises the rolling-hash + strong-checksum
match-index path on a medium 100 MiB corpus with ~5% of bytes flipped at
deterministic offsets. Three cells cover the basis signature build, the
target match scan against a pre-built index, and the full end-to-end
delta-emission round.

The corpus uses an in-place flip variant (block alignment preserved) so
the match-index path itself dominates the measurement, mirroring the
corpus style already used by prune_duplicate_heavy and bithash_rejection.
Sample size is held to 10 with a 5 s measurement window to stay well
under the 5-minute-per-iteration ceiling on commodity hardware.
oferchen added a commit that referenced this pull request Aug 24, 2026
…#3933)

Document the four wire-compatible zsync-inspired matching speedups
(bithash prefilter #2059-2062, seq-match extend-run #2064-2066,
matched-block pruning #2068-2070, compact-keys layout #2072-2073)
with CHANGELOG snippets, a release notes block, an anti-spec
forbidding wire-feature advertisement, and a placeholder for
benchmark numbers pending #2081 and #2082.
oferchen added a commit that referenced this pull request Aug 24, 2026
…2081) (#4243)

Add a Criterion bench that exercises the rolling-hash + strong-checksum
match-index path on a medium 100 MiB corpus with ~5% of bytes flipped at
deterministic offsets. Three cells cover the basis signature build, the
target match scan against a pre-built index, and the full end-to-end
delta-emission round.

The corpus uses an in-place flip variant (block alignment preserved) so
the match-index path itself dominates the measurement, mirroring the
corpus style already used by prune_duplicate_heavy and bithash_rejection.
Sample size is held to 10 with a 5 s measurement window to stay well
under the 5-minute-per-iteration ceiling on commodity hardware.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant