Skip to content

docs(transfer): design proper ParallelDeltaApplier production wire-up (PIP-9) - #4735

Merged
oferchen merged 1 commit into
masterfrom
docs/pip-9-parallel-receive-wireup
May 22, 2026
Merged

oferchen merged 1 commit into
masterfrom
docs/pip-9-parallel-receive-wireup

Conversation

@oferchen

Copy link
Copy Markdown
Owner

Summary

  • Adds docs/design/pip-9-parallel-receive-wireup.md, the PIP-9 design pass that follows the PIP-8 dead-scaffolding teardown (refactor(transfer,engine): tear out dead parallel-receive-delta scaffolding (PIP-8) #4731) and the PIP-7 receiver-corruption investigation (docs(design): PIP-7 reproduction + suspected location for parallel-receive-delta corruption #4730).
  • Documents the cutover point in crates/transfer/src/receiver/transfer/sync.rs:241-253 (the existing apply_delta_tokens call site), the DeltaWork -> DeltaChunk adapter shape, the RJN-3 fan-out via ParallelDeltaApplier::apply_batch_parallel, and how the wire-up resolves vs explicitly punts the ABW-2/3 writer-serialisation concern.
  • Specifies an interop plan that reintroduces the parallel-threshold-trip scenario with a sha256-of-file_1.txt assertion and adds a required cargo build --profile dist --features parallel-receive-delta CI cell, since PIP-4 only reproduced under the dist profile.
  • Defines a 6-task punch list (PIP-9.a through PIP-9.f) covering adapter, token-loop rewire, interop scenario, dist CI cell, PIP-7 closure, and the eventual default-on flip.

Test plan

  • Doc renders correctly on GitHub (admin labeler picks up docs: prefix).
  • No code changes - CI should pass on the existing matrix without code edits.
  • Cited file:line references resolve against current master.

Non-goals (this PR)

  • No code changes. The parallel-receive-delta feature flag stays a no-op until the PIP-9.a / PIP-9.b implementation PRs land.
  • No reintroduction of the PIP-8-removed thresholds, env knobs, or delta_pipeline field.
  • No wire-protocol changes.

… (PIP-9)

Documents the architecture, interop test plan, feature flag transition,
and sub-task punch list for routing the production receiver token loop
through ParallelDeltaApplier behind the existing parallel-receive-delta
feature flag. Follows the PIP-8 dead-scaffolding teardown (#4731) and
the PIP-7 corruption investigation (#4730). No code changes; the wire-up
itself lands across PIP-9.a through PIP-9.f.
@github-actions github-actions Bot added the documentation Improvements or additions to documentation label May 22, 2026
@oferchen
oferchen merged commit 2fd52bb into master May 22, 2026
10 checks passed
@oferchen
oferchen deleted the docs/pip-9-parallel-receive-wireup branch May 22, 2026 14:49
oferchen added a commit that referenced this pull request Aug 24, 2026
… (PIP-9) (#4735)

Documents the architecture, interop test plan, feature flag transition,
and sub-task punch list for routing the production receiver token loop
through ParallelDeltaApplier behind the existing parallel-receive-delta
feature flag. Follows the PIP-8 dead-scaffolding teardown (#4731) and
the PIP-7 corruption investigation (#4730). No code changes; the wire-up
itself lands across PIP-9.a through PIP-9.f.
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