Skip to content
This repository was archived by the owner on Jan 22, 2025. It is now read-only.

Conversation

@behzadnouri
Copy link
Contributor

Problem

On mainnet-beta, respective QUIC endpoint are unnecessary for now until testnet has fully migrated to QUIC.

Summary of Changes

The commit disables turbine and repair QUIC endpoints on mainnet-beta.

On mainnet-beta, respective QUIC endpoint are unnecessary for now until
testnet has fully migrated to QUIC. The commit disables turbine and
repair QUIC endpoints on mainnet-beta.
@codecov
Copy link

codecov bot commented Dec 19, 2023

Codecov Report

Attention: 8 lines in your changes are missing coverage. Please review.

Comparison is base (e877eef) 81.8% compared to head (b877a34) 81.8%.
Report is 1 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master   #34523   +/-   ##
=======================================
  Coverage    81.8%    81.8%           
=======================================
  Files         822      822           
  Lines      221504   221522   +18     
=======================================
+ Hits       181289   181372   +83     
+ Misses      40215    40150   -65     

// Outside test-validator crate, we always need a tokio runtime (and
// the respective handle) to initialize the turbine QUIC endpoint.
let current_runtime_handle = tokio::runtime::Handle::try_current();
let turbine_quic_endpoint_runtime = current_runtime_handle.is_err().then(|| {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"Hide whitespace" for easier code review.

@behzadnouri behzadnouri added the v1.17 PRs that should be backported to v1.17 label Dec 19, 2023
@mergify
Copy link
Contributor

mergify bot commented Dec 19, 2023

Backports to the beta branch are to be avoided unless absolutely necessary for fixing bugs, security issues, and perf regressions. Changes intended for backport should be structured such that a minimum effective diff can be committed separately from any refactoring, plumbing, cleanup, etc that are not strictly necessary to achieve the goal. Any of the latter should go only into master and ride the normal stabilization schedule. Exceptions include CI/metrics changes, CLI improvements and documentation updates on a case by case basis.

@willhickey
Copy link
Contributor

Do you expect to roll quic for repair and turbine out to mainnet-beta in v1.18? Will it be a gradual rollout like Merkle shreds?

@behzadnouri
Copy link
Contributor Author

Do you expect to roll quic for repair and turbine out to mainnet-beta in v1.18?

Not clear at the moment, because firedancer folks are proposing an alternative to QUIC and we will see how that would work out.

Will it be a gradual rollout like Merkle shreds?

Any protocol changes will definitely be a gradual rollout. e.g. starting with small % of slots and ramping up.

@behzadnouri behzadnouri merged commit 4feadbd into solana-labs:master Dec 19, 2023
@behzadnouri behzadnouri deleted the quic-server-off branch December 19, 2023 19:12
mergify bot pushed a commit that referenced this pull request Dec 19, 2023
On mainnet-beta, respective QUIC endpoint are unnecessary for now until
testnet has fully migrated to QUIC. The commit disables turbine and
repair QUIC endpoints on mainnet-beta.

(cherry picked from commit 4feadbd)

# Conflicts:
#	core/src/validator.rs
mergify bot added a commit that referenced this pull request Dec 19, 2023
…ckport of #34523) (#34526)

* disables turbine and repair QUIC endpoints on mainnet-beta (#34523)

On mainnet-beta, respective QUIC endpoint are unnecessary for now until
testnet has fully migrated to QUIC. The commit disables turbine and
repair QUIC endpoints on mainnet-beta.

(cherry picked from commit 4feadbd)

# Conflicts:
#	core/src/validator.rs

* resolves mergify merge conflicts

---------

Co-authored-by: behzad nouri <[email protected]>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

v1.17 PRs that should be backported to v1.17

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants