Repository navigation
fix(core): restore inc_recursive_send=false default to fix v0.6.1 push regression - #3744
Merged
Merged
Conversation
…#1862) PR #3557 (commit 39d4772) flipped the sender-side INC_RECURSE default to true, advertising the `'i'` capability bit on push transfers. This caused severe performance regressions in v0.6.1 - push paths went 95-201x slower over both SSH and daemon transports. The sender-side INC_RECURSE state machine has not been validated against upstream rsync interop, and enabling it by default exercises a code path that is not yet performance-tuned. Restore the v0.6.0 default of `false` so push performance returns to baseline. Pull transfers are unaffected - they continue to negotiate INC_RECURSE normally because the flag governs what we advertise, and the sender on a pull is the remote. Users who want to exercise the sender-side state machine for interop validation can opt in with `--inc-recursive` (the existing CLI flag is preserved). The longer-term fix is to profile the sender-side state machine, identify the bottleneck, and re-enable by default once it matches upstream wire performance. Tests: - inc_recursive_send_default_is_true -> _is_false - default_inc_recursive_send_is_true -> _is_false - ssh_sender_advertises_inc_recurse_capability_by_default -> ssh_sender_omits_inc_recurse_capability_by_default - ssh_receiver_advertises_inc_recurse_capability_by_default -> ssh_receiver_omits_inc_recurse_capability_by_default - build_full_args_pull_advertises_inc_recurse_capability_by_default -> build_full_args_pull_omits_inc_recurse_capability_by_default - builds_receiver_invocation_with_sender_flag and builds_sender_invocation_no_sender_flag updated to expect build_capability_string(false) upstream: compat.c:161-179 allow_inc_recurse - the gate semantics. upstream: options.c:3003-3050 maybe_add_e_option - capability string.
3 tasks
oferchen
added a commit
that referenced
this pull request
May 7, 2026
Plan re-baselines peak RSS for full vs incremental flist on 100K and 1M directory pushes after #1862 landed sender INC_RECURSE. Captures the state machine in crates/transfer/src/generator/file_list/inc_recurse.rs plus the receiver-side path in receiver/file_list.rs, and ties the bench gate to the v0.6.1 push regression revert (#3744) so default-flip needs both wall-clock and RSS evidence. Refs #1864, #1862, #966, #971, #972, #2088.
4 tasks
oferchen
added a commit
that referenced
this pull request
May 18, 2026
…h regression (#3744) * fix(core): default inc_recursive_send to false to fix push regression (#1862) PR #3557 (commit 39d4772) flipped the sender-side INC_RECURSE default to true, advertising the `'i'` capability bit on push transfers. This caused severe performance regressions in v0.6.1 - push paths went 95-201x slower over both SSH and daemon transports. The sender-side INC_RECURSE state machine has not been validated against upstream rsync interop, and enabling it by default exercises a code path that is not yet performance-tuned. Restore the v0.6.0 default of `false` so push performance returns to baseline. Pull transfers are unaffected - they continue to negotiate INC_RECURSE normally because the flag governs what we advertise, and the sender on a pull is the remote. Users who want to exercise the sender-side state machine for interop validation can opt in with `--inc-recursive` (the existing CLI flag is preserved). The longer-term fix is to profile the sender-side state machine, identify the bottleneck, and re-enable by default once it matches upstream wire performance. Tests: - inc_recursive_send_default_is_true -> _is_false - default_inc_recursive_send_is_true -> _is_false - ssh_sender_advertises_inc_recurse_capability_by_default -> ssh_sender_omits_inc_recurse_capability_by_default - ssh_receiver_advertises_inc_recurse_capability_by_default -> ssh_receiver_omits_inc_recurse_capability_by_default - build_full_args_pull_advertises_inc_recurse_capability_by_default -> build_full_args_pull_omits_inc_recurse_capability_by_default - builds_receiver_invocation_with_sender_flag and builds_sender_invocation_no_sender_flag updated to expect build_capability_string(false) upstream: compat.c:161-179 allow_inc_recurse - the gate semantics. upstream: options.c:3003-3050 maybe_add_e_option - capability string. * fix(core,tests): update post-revert default tests to expect no 'i' bit * fix(tests): align push-direction inc_recurse test with new default * fix(tests): explicitly enable inc_recursive_send in all-flags test
oferchen
added a commit
that referenced
this pull request
May 18, 2026
Plan re-baselines peak RSS for full vs incremental flist on 100K and 1M directory pushes after #1862 landed sender INC_RECURSE. Captures the state machine in crates/transfer/src/generator/file_list/inc_recurse.rs plus the receiver-side path in receiver/file_list.rs, and ties the bench gate to the v0.6.1 push regression revert (#3744) so default-flip needs both wall-clock and RSS evidence. Refs #1864, #1862, #966, #971, #972, #2088.
2 tasks
oferchen
added a commit
that referenced
this pull request
May 24, 2026
…-inc-recurse (V61D-2) Adds an integration test that reproduces the v0.6.1 failure mode the V61D-1 audit identified: with the `sender-inc-recurse` feature on, a client-as-sender push to an upstream rsync daemon historically ran 95-201x slower than the equivalent upstream-sender baseline because PR #3557 flipped `inc_recursive_send=true` by default and routed every push through the un-tuned sender-side INC_RECURSE state machine (mitigated by PR #3744). The test pushes a ~1 MiB tree from oc-rsync (sender, feature ON) to a spawned upstream `rsync --daemon` (receiver) and asserts wall-clock stays within 5x of an upstream-sender baseline against the same daemon. Skips cleanly when the upstream rsync binary is not installed at `target/interop/upstream-install/3.4.1/bin/rsync`. Linux-only via the same `cfg(all(unix, not(target_os = "macos")))` gate the ISI.c/d/e sibling tests use. Adds a marker `sender-inc-recurse` feature to the transfer crate so the test cfg gate resolves; the workspace-level feature now forwards to it. Refs: docs/audit/v061-daemon-push-regression.md
oferchen
added a commit
that referenced
this pull request
May 24, 2026
…-inc-recurse (V61D-2) Adds an integration test that reproduces the v0.6.1 failure mode the V61D-1 audit identified: with the `sender-inc-recurse` feature on, a client-as-sender push to an upstream rsync daemon historically ran 95-201x slower than the equivalent upstream-sender baseline because PR #3557 flipped `inc_recursive_send=true` by default and routed every push through the un-tuned sender-side INC_RECURSE state machine (mitigated by PR #3744). The test pushes a ~1 MiB tree from oc-rsync (sender, feature ON) to a spawned upstream `rsync --daemon` (receiver) and asserts wall-clock stays within 5x of an upstream-sender baseline against the same daemon. Skips cleanly when the upstream rsync binary is not installed at `target/interop/upstream-install/3.4.1/bin/rsync`. Linux-only via the same `cfg(all(unix, not(target_os = "macos")))` gate the ISI.c/d/e sibling tests use. Adds a marker `sender-inc-recurse` feature to the transfer crate so the test cfg gate resolves; the workspace-level feature now forwards to it. Refs: docs/audit/v061-daemon-push-regression.md
oferchen
added a commit
that referenced
this pull request
May 24, 2026
…-inc-recurse (V61D-2) Adds an integration test that reproduces the v0.6.1 failure mode the V61D-1 audit identified: with the `sender-inc-recurse` feature on, a client-as-sender push to an upstream rsync daemon historically ran 95-201x slower than the equivalent upstream-sender baseline because PR #3557 flipped `inc_recursive_send=true` by default and routed every push through the un-tuned sender-side INC_RECURSE state machine (mitigated by PR #3744). The test pushes a ~1 MiB tree from oc-rsync (sender, feature ON) to a spawned upstream `rsync --daemon` (receiver) and asserts wall-clock stays within 5x of an upstream-sender baseline against the same daemon. Skips cleanly when the upstream rsync binary is not installed at `target/interop/upstream-install/3.4.1/bin/rsync`. Linux-only via the same `cfg(all(unix, not(target_os = "macos")))` gate the ISI.c/d/e sibling tests use. Adds a marker `sender-inc-recurse` feature to the transfer crate so the test cfg gate resolves; the workspace-level feature now forwards to it. Refs: docs/audit/v061-daemon-push-regression.md
oferchen
added a commit
that referenced
this pull request
May 24, 2026
…-inc-recurse (V61D-2) Adds an integration test that reproduces the v0.6.1 failure mode the V61D-1 audit identified: with the `sender-inc-recurse` feature on, a client-as-sender push to an upstream rsync daemon historically ran 95-201x slower than the equivalent upstream-sender baseline because PR #3557 flipped `inc_recursive_send=true` by default and routed every push through the un-tuned sender-side INC_RECURSE state machine (mitigated by PR #3744). The test pushes a ~1 MiB tree from oc-rsync (sender, feature ON) to a spawned upstream `rsync --daemon` (receiver) and asserts wall-clock stays within 5x of an upstream-sender baseline against the same daemon. Skips cleanly when the upstream rsync binary is not installed at `target/interop/upstream-install/3.4.1/bin/rsync`. Linux-only via the same `cfg(all(unix, not(target_os = "macos")))` gate the ISI.c/d/e sibling tests use. Adds a marker `sender-inc-recurse` feature to the transfer crate so the test cfg gate resolves; the workspace-level feature now forwards to it. Refs: docs/audit/v061-daemon-push-regression.md
oferchen
added a commit
that referenced
this pull request
May 24, 2026
…-inc-recurse (V61D-2) Adds an integration test that reproduces the v0.6.1 failure mode the V61D-1 audit identified: with the `sender-inc-recurse` feature on, a client-as-sender push to an upstream rsync daemon historically ran 95-201x slower than the equivalent upstream-sender baseline because PR #3557 flipped `inc_recursive_send=true` by default and routed every push through the un-tuned sender-side INC_RECURSE state machine (mitigated by PR #3744). The test pushes a ~1 MiB tree from oc-rsync (sender, feature ON) to a spawned upstream `rsync --daemon` (receiver) and asserts wall-clock stays within 5x of an upstream-sender baseline against the same daemon. Skips cleanly when the upstream rsync binary is not installed at `target/interop/upstream-install/3.4.1/bin/rsync`. Linux-only via the same `cfg(all(unix, not(target_os = "macos")))` gate the ISI.c/d/e sibling tests use. Adds a marker `sender-inc-recurse` feature to the transfer crate so the test cfg gate resolves; the workspace-level feature now forwards to it. Refs: docs/audit/v061-daemon-push-regression.md
oferchen
added a commit
that referenced
this pull request
May 24, 2026
…-inc-recurse (V61D-2) Adds an integration test that reproduces the v0.6.1 failure mode the V61D-1 audit identified: with the `sender-inc-recurse` feature on, a client-as-sender push to an upstream rsync daemon historically ran 95-201x slower than the equivalent upstream-sender baseline because PR #3557 flipped `inc_recursive_send=true` by default and routed every push through the un-tuned sender-side INC_RECURSE state machine (mitigated by PR #3744). The test pushes a ~1 MiB tree from oc-rsync (sender, feature ON) to a spawned upstream `rsync --daemon` (receiver) and asserts wall-clock stays within 5x of an upstream-sender baseline against the same daemon. Skips cleanly when the upstream rsync binary is not installed at `target/interop/upstream-install/3.4.1/bin/rsync`. Linux-only via the same `cfg(all(unix, not(target_os = "macos")))` gate the ISI.c/d/e sibling tests use. Adds a marker `sender-inc-recurse` feature to the transfer crate so the test cfg gate resolves; the workspace-level feature now forwards to it. Refs: docs/audit/v061-daemon-push-regression.md
oferchen
added a commit
that referenced
this pull request
May 24, 2026
…-inc-recurse (V61D-2) (#4888) * test(transfer): v0.6.1 daemon-push perf regression repro under sender-inc-recurse (V61D-2) Adds an integration test that reproduces the v0.6.1 failure mode the V61D-1 audit identified: with the `sender-inc-recurse` feature on, a client-as-sender push to an upstream rsync daemon historically ran 95-201x slower than the equivalent upstream-sender baseline because PR #3557 flipped `inc_recursive_send=true` by default and routed every push through the un-tuned sender-side INC_RECURSE state machine (mitigated by PR #3744). The test pushes a ~1 MiB tree from oc-rsync (sender, feature ON) to a spawned upstream `rsync --daemon` (receiver) and asserts wall-clock stays within 5x of an upstream-sender baseline against the same daemon. Skips cleanly when the upstream rsync binary is not installed at `target/interop/upstream-install/3.4.1/bin/rsync`. Linux-only via the same `cfg(all(unix, not(target_os = "macos")))` gate the ISI.c/d/e sibling tests use. Adds a marker `sender-inc-recurse` feature to the transfer crate so the test cfg gate resolves; the workspace-level feature now forwards to it. Refs: docs/audit/v061-daemon-push-regression.md * ci(transfer): retrigger CI on V61D-2 after master fmt fixup #4891 * fix(tests): inline format args in v61d_2 regression test Resolve clippy uninlined_format_args at the daemon-timeout and slowdown-ratio assertion sites.
oferchen
added a commit
that referenced
this pull request
Aug 24, 2026
…h regression (#3744) * fix(core): default inc_recursive_send to false to fix push regression (#1862) PR #3557 (commit 39d4772) flipped the sender-side INC_RECURSE default to true, advertising the `'i'` capability bit on push transfers. This caused severe performance regressions in v0.6.1 - push paths went 95-201x slower over both SSH and daemon transports. The sender-side INC_RECURSE state machine has not been validated against upstream rsync interop, and enabling it by default exercises a code path that is not yet performance-tuned. Restore the v0.6.0 default of `false` so push performance returns to baseline. Pull transfers are unaffected - they continue to negotiate INC_RECURSE normally because the flag governs what we advertise, and the sender on a pull is the remote. Users who want to exercise the sender-side state machine for interop validation can opt in with `--inc-recursive` (the existing CLI flag is preserved). The longer-term fix is to profile the sender-side state machine, identify the bottleneck, and re-enable by default once it matches upstream wire performance. Tests: - inc_recursive_send_default_is_true -> _is_false - default_inc_recursive_send_is_true -> _is_false - ssh_sender_advertises_inc_recurse_capability_by_default -> ssh_sender_omits_inc_recurse_capability_by_default - ssh_receiver_advertises_inc_recurse_capability_by_default -> ssh_receiver_omits_inc_recurse_capability_by_default - build_full_args_pull_advertises_inc_recurse_capability_by_default -> build_full_args_pull_omits_inc_recurse_capability_by_default - builds_receiver_invocation_with_sender_flag and builds_sender_invocation_no_sender_flag updated to expect build_capability_string(false) upstream: compat.c:161-179 allow_inc_recurse - the gate semantics. upstream: options.c:3003-3050 maybe_add_e_option - capability string. * fix(core,tests): update post-revert default tests to expect no 'i' bit * fix(tests): align push-direction inc_recurse test with new default * fix(tests): explicitly enable inc_recursive_send in all-flags test
oferchen
added a commit
that referenced
this pull request
Aug 24, 2026
Plan re-baselines peak RSS for full vs incremental flist on 100K and 1M directory pushes after #1862 landed sender INC_RECURSE. Captures the state machine in crates/transfer/src/generator/file_list/inc_recurse.rs plus the receiver-side path in receiver/file_list.rs, and ties the bench gate to the v0.6.1 push regression revert (#3744) so default-flip needs both wall-clock and RSS evidence. Refs #1864, #1862, #966, #971, #972, #2088.
oferchen
added a commit
that referenced
this pull request
Aug 24, 2026
…-inc-recurse (V61D-2) (#4888) * test(transfer): v0.6.1 daemon-push perf regression repro under sender-inc-recurse (V61D-2) Adds an integration test that reproduces the v0.6.1 failure mode the V61D-1 audit identified: with the `sender-inc-recurse` feature on, a client-as-sender push to an upstream rsync daemon historically ran 95-201x slower than the equivalent upstream-sender baseline because PR #3557 flipped `inc_recursive_send=true` by default and routed every push through the un-tuned sender-side INC_RECURSE state machine (mitigated by PR #3744). The test pushes a ~1 MiB tree from oc-rsync (sender, feature ON) to a spawned upstream `rsync --daemon` (receiver) and asserts wall-clock stays within 5x of an upstream-sender baseline against the same daemon. Skips cleanly when the upstream rsync binary is not installed at `target/interop/upstream-install/3.4.1/bin/rsync`. Linux-only via the same `cfg(all(unix, not(target_os = "macos")))` gate the ISI.c/d/e sibling tests use. Adds a marker `sender-inc-recurse` feature to the transfer crate so the test cfg gate resolves; the workspace-level feature now forwards to it. Refs: docs/audit/v061-daemon-push-regression.md * ci(transfer): retrigger CI on V61D-2 after master fmt fixup #4891 * fix(tests): inline format args in v61d_2 regression test Resolve clippy uninlined_format_args at the daemon-timeout and slowdown-ratio assertion sites.
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
Hotfix for the v0.6.1 push performance regression. Restores the v0.6.0 sender-side
inc_recursive_senddefault offalse. Push paths in v0.6.1 are reported as 95-201x slower over both SSH and daemon transports compared to v0.6.0.Root cause
PR #3557 (commit 39d4772) flipped the default to
true, advertising the INC_RECURSE ('i') capability bit on push by default. The sender-side INC_RECURSE state machine has not been validated against upstream rsync interop and is not performance-tuned, so enabling it by default exercises a slow path on every push.Fix
inc_recursive_senddefault flips back tofalseinClientConfigBuilder::build()andClientConfig::default().--inc-recursiveCLI opt-in is preserved for users who want to exercise the sender-side state machine (e.g. interop testing).Scope
This is a default-only flip. The wire format, CLI surface, and pull-side behavior are unchanged. The longer-term fix - profiling and tuning the sender-side INC_RECURSE state machine so it matches upstream wire performance - is tracked separately.
Test plan