Skip to content

Add parity test for sparse with preallocate#2136

Merged
oferchen merged 1 commit into
masterfrom
document-oc-rsync-mission-brief
Nov 13, 2025
Merged

Add parity test for sparse with preallocate#2136
oferchen merged 1 commit into
masterfrom
document-oc-rsync-mission-brief

Conversation

@oferchen
Copy link
Copy Markdown
Owner

Summary

  • add a CLI frontend test that exercises --sparse together with --preallocate
  • verify that the combination keeps dense allocation to match upstream behaviour

Testing

  • cargo test -p cli transfer_request_with_sparse_tests -- --nocapture

Codex Task

@oferchen oferchen merged commit 144d168 into master Nov 13, 2025
@oferchen oferchen deleted the document-oc-rsync-mission-brief branch November 13, 2025 16:20
oferchen added a commit that referenced this pull request May 16, 2026
Expand the placeholder async migration plan into a comprehensive,
opinionated design covering: current synchronous threading model per
subsystem, per-subsystem cost/benefit, a phased incremental adoption
strategy, tokio runtime choice with rejected alternatives, sync/async
bridge patterns, backward-compat strategy, risk register, and open
questions.

Cross-references existing async-related tasks (#1367, #1411, #1591,
#1593, #1595, #1674, #1751, #1779, #1780, #1782, #1796, #1797, #1805,
#1806, #1889, #1890, #1891, #1892, #1934, #1935, #2136) and related
design notes so future planners have a single anchor.
oferchen added a commit that referenced this pull request May 16, 2026
Expand the placeholder async migration plan into a comprehensive,
opinionated design covering: current synchronous threading model per
subsystem, per-subsystem cost/benefit, a phased incremental adoption
strategy, tokio runtime choice with rejected alternatives, sync/async
bridge patterns, backward-compat strategy, risk register, and open
questions.

Cross-references existing async-related tasks (#1367, #1411, #1591,
#1593, #1595, #1674, #1751, #1779, #1780, #1782, #1796, #1797, #1805,
#1806, #1889, #1890, #1891, #1892, #1934, #1935, #2136) and related
design notes so future planners have a single anchor.
oferchen added a commit that referenced this pull request May 17, 2026
…2136) (#4210)

Reframe the actor-pattern evaluation around supervised tokio tasks
(Erlang/Akka style with bounded mailboxes and a supervisor that
restarts crashed actors) to match the post-async-migration target
the migration plan commits us to.

The recommendation stays: reject the actor reshape for the
production hot path because rsync's wire protocol is sequential
with no resume primitive, so supervisor restart is a no-op; adopt
the actor surface only for multi-host fan-out and fault-injection
tests, behind --features async-pipeline.

Cross-references #4186 (async migration plan), #4196 (spawn_blocking
bridge), #2134 (type-state for protocol phases, recently merged),
and #1935 (async daemon listener).
oferchen added a commit that referenced this pull request May 18, 2026
Expand the placeholder async migration plan into a comprehensive,
opinionated design covering: current synchronous threading model per
subsystem, per-subsystem cost/benefit, a phased incremental adoption
strategy, tokio runtime choice with rejected alternatives, sync/async
bridge patterns, backward-compat strategy, risk register, and open
questions.

Cross-references existing async-related tasks (#1367, #1411, #1591,
#1593, #1595, #1674, #1751, #1779, #1780, #1782, #1796, #1797, #1805,
#1806, #1889, #1890, #1891, #1892, #1934, #1935, #2136) and related
design notes so future planners have a single anchor.
oferchen added a commit that referenced this pull request May 18, 2026
…2136) (#4210)

Reframe the actor-pattern evaluation around supervised tokio tasks
(Erlang/Akka style with bounded mailboxes and a supervisor that
restarts crashed actors) to match the post-async-migration target
the migration plan commits us to.

The recommendation stays: reject the actor reshape for the
production hot path because rsync's wire protocol is sequential
with no resume primitive, so supervisor restart is a no-op; adopt
the actor surface only for multi-host fan-out and fault-injection
tests, behind --features async-pipeline.

Cross-references #4186 (async migration plan), #4196 (spawn_blocking
bridge), #2134 (type-state for protocol phases, recently merged),
and #1935 (async daemon listener).
oferchen added a commit that referenced this pull request May 18, 2026
Expand the placeholder async migration plan into a comprehensive,
opinionated design covering: current synchronous threading model per
subsystem, per-subsystem cost/benefit, a phased incremental adoption
strategy, tokio runtime choice with rejected alternatives, sync/async
bridge patterns, backward-compat strategy, risk register, and open
questions.

Cross-references existing async-related tasks (#1367, #1411, #1591,
#1593, #1595, #1674, #1751, #1779, #1780, #1782, #1796, #1797, #1805,
#1806, #1889, #1890, #1891, #1892, #1934, #1935, #2136) and related
design notes so future planners have a single anchor.
oferchen added a commit that referenced this pull request May 18, 2026
…2136) (#4210)

Reframe the actor-pattern evaluation around supervised tokio tasks
(Erlang/Akka style with bounded mailboxes and a supervisor that
restarts crashed actors) to match the post-async-migration target
the migration plan commits us to.

The recommendation stays: reject the actor reshape for the
production hot path because rsync's wire protocol is sequential
with no resume primitive, so supervisor restart is a no-op; adopt
the actor surface only for multi-host fan-out and fault-injection
tests, behind --features async-pipeline.

Cross-references #4186 (async migration plan), #4196 (spawn_blocking
bridge), #2134 (type-state for protocol phases, recently merged),
and #1935 (async daemon listener).
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