Skip to content

turbine: use the shared worker pool crate in retransmit - #16417

Merged
kskalski merged 1 commit into
anza-xyz:masterfrom
kskalski:ks/worker_pool_retransmit
Oct 29, 2026
Merged

kskalski merged 1 commit into
anza-xyz:masterfrom
kskalski:ks/worker_pool_retransmit

Conversation

@kskalski

@kskalski kskalski commented Oct 27, 2026 •

Copy link
Copy Markdown

Problem

retransmit runs on a private copy of the wake-channel worker pool, which duplicates agave-worker-pool.

Summary of Changes

Run retransmit jobs on agave-worker-pool and remove turbine/src/retransmit_stage/worker_pool.rs.

Testing

  • CI
  • All worker pool migrations combined ran for 30 minutes on a devbox validator without errors or panics, and replay verification, retransmit and shred sigverify metrics stayed within a few percent of an earlier master run on the same node.
  • A 10-minute profile of that validator shows every replay verification, retransmit and shred sigverify worker running, with each pool's jobs spread evenly across its workers.

@kskalski
kskalski force-pushed the ks/worker_pool_retransmit branch from 1c72dda to bb82acf Compare October 27, 2026 00:40
@codecov-commenter

codecov-commenter commented Oct 27, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 98.24561% with 5 lines in your changes missing coverage. Please review.
✅ Project coverage is 82.4%. Comparing base (288e02b) to head (96c4417).
⚠️ Report is 12 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff            @@
##           master   #16417     +/-   ##
=========================================
- Coverage    82.4%    82.4%   -0.1%     
=========================================
  Files         954      955      +1     
  Lines      372811   373040    +229     
=========================================
+ Hits       307384   307492    +108     
- Misses      65427    65548    +121     
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@kskalski
kskalski force-pushed the ks/worker_pool_retransmit branch 4 times, most recently from dbb9ab1 to c1f82c8 Compare October 28, 2026 00:47
Problem: retransmit runs on a private copy of the wake-channel worker pool, which duplicates `agave-worker-pool`.

Summary of Changes
- Run retransmit jobs on `agave-worker-pool` and remove `turbine/src/retransmit_stage/worker_pool.rs`.
- Move the pool into the retransmit thread, which joins the workers when it exits, so `RetransmitStage::join` reports a worker panic through that thread.
@kskalski
kskalski force-pushed the ks/worker_pool_retransmit branch from c1f82c8 to 8ba9580 Compare October 28, 2026 13:51
@kskalski
kskalski marked this pull request as ready for review October 29, 2026 03:02
@kskalski
kskalski requested a review from a team as a code owner October 29, 2026 03:02
@alexpyattaev
alexpyattaev requested review from KirillLykov, alexpyattaev and apfitzge and removed request for apfitzge October 29, 2026 08:55
@kskalski
kskalski added this pull request to the merge queue Oct 29, 2026
Merged via the queue into anza-xyz:master with commit a89fc27 Oct 29, 2026
57 checks passed
@kskalski
kskalski deleted the ks/worker_pool_retransmit branch October 29, 2026 15:48
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.

3 participants