Skip to content

feat(p2p-09): add data-plane redirect plumbing (#671)#754

Open
jlon wants to merge 18 commits intoCurvineIO:mainfrom
jlon:p2p-09-data-plane-redirect
Open

feat(p2p-09): add data-plane redirect plumbing (#671)#754
jlon wants to merge 18 commits intoCurvineIO:mainfrom
jlon:p2p-09-data-plane-redirect

Conversation

@jlon
Copy link
Copy Markdown
Contributor

@jlon jlon commented Mar 26, 2026

Summary

  • Introduce control-plane redirects and ticketed follow-up fetches for the P2P data plane.
  • Keep this slice intermediate-only; rollout-safe redirect behavior still depends on later correctness and lifecycle hardening.

Design

  • Redirect only when the first chunk is serviceable and preserve direct worker fallback.
  • Isolate redirect/ticket plumbing from later correctness and performance work to keep review scope narrow.

Implementation

  • Add redirect responses, data-plane listener/bind lifecycle, and framing for redirected fetches.
  • Wire block follow-up reads and the fetched-cache visibility required for redirected fetches.

Verification

  • Verify redirects only occur when the first chunk can be served.
  • Verify follow-up responses avoid useless tickets and worker fallback remains available.

@jlon
Copy link
Copy Markdown
Contributor Author

jlon commented Mar 26, 2026

Part 9/17 of the split P2P series that supersedes #671.

This PR targets , so the visible diff is cumulative. Review the slice described in this PR body instead of treating the whole diff as new.

Intended review delta is p2p-09 on top of #755.

@jlon
Copy link
Copy Markdown
Contributor Author

jlon commented Mar 26, 2026

Review note: this is part 9/17 of the split P2P series that supersedes #671.

This PR targets main, so the visible diff is cumulative. Please review the slice described in this PR body.

Review after #755.

@jlon jlon force-pushed the p2p-09-data-plane-redirect branch from 8df93d8 to cb050bc Compare March 26, 2026 10:26
@jlon jlon force-pushed the p2p-09-data-plane-redirect branch from cb050bc to d73b245 Compare March 27, 2026 09:32
@jlon jlon force-pushed the p2p-09-data-plane-redirect branch from d73b245 to b5dce20 Compare March 30, 2026 00:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant