Skip to content

docs(design): evaluate parallel source enumeration via multi-producer WorkQueue (#1573)#3883

Merged
oferchen merged 1 commit into
masterfrom
design/parallel-source-enumeration
May 7, 2026
Merged

docs(design): evaluate parallel source enumeration via multi-producer WorkQueue (#1573)#3883
oferchen merged 1 commit into
masterfrom
design/parallel-source-enumeration

Conversation

@oferchen
Copy link
Copy Markdown
Owner

@oferchen oferchen commented May 7, 2026

Summary

  • Evaluates parallel source enumeration in the generator using the existing multi-producer WorkQueue infrastructure (issue Inline protocol table validation const #1573).
  • Documents the current single-producer walk path in crates/transfer/src/generator/file_list/mod.rs, target multi-root scenarios, the sender contract (Clone-able, FIFO per producer only), and the NDX / hardlink / io_error / INC_RECURSE risks.
  • Recommends a prototype gated on a hidden --parallel-enumerate CLI flag and the existing multi-producer cargo feature, with sort-merge NDX assignment and interop coverage before promotion.

Test plan

  • CI: docs-only change, no code touched; rely on standard fmt/clippy/nextest matrix.
  • Manual: confirm docs/design/parallel-source-enumeration.md renders correctly on GitHub.

… WorkQueue (#1573)

Capture the design tradeoffs for fanning out generator source enumeration
across the existing multi-producer WorkQueue infrastructure: current
single-producer walk path, multi-root scenarios, sender contract,
NDX/hardlink/io_error/INC_RECURSE risks, and a prototype gate via
--parallel-enumerate.
@github-actions github-actions Bot added the documentation Improvements or additions to documentation label May 7, 2026
@oferchen oferchen merged commit 55fea4e into master May 7, 2026
8 checks passed
@oferchen oferchen deleted the design/parallel-source-enumeration branch May 8, 2026 03:52
oferchen added a commit that referenced this pull request May 18, 2026
… WorkQueue (#1573) (#3883)

Capture the design tradeoffs for fanning out generator source enumeration
across the existing multi-producer WorkQueue infrastructure: current
single-producer walk path, multi-root scenarios, sender contract,
NDX/hardlink/io_error/INC_RECURSE risks, and a prototype gate via
--parallel-enumerate.
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