Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

moves turbine-disabled check to shred-fetch-stage #30799

Merged
merged 1 commit into from
Mar 20, 2023

Conversation

behzadnouri
Copy link
Contributor

Problem

Local cluster tests fail in #30786 because when turbine_disabled is true packets are still recorded in the deduper even though they are dropped and when turbine_disabled is set back to false, new packets are discarded as duplicate.

Summary of Changes

If turbine_disabled is true the commit discards turbine packets earlier in the pipeline so that they won't interfere with the deduper and the packets can get through once turbine is enabled again.

This is a prerequisite of #30786 so that local-cluster tests pass.

If turbine_disabled is true, the commit discards turbine packets
earlier in the pipeline so that they won't interfere with the deduper
and the packets can get through once turbine is enabled again.

This is a prerequisite of:
solana-labs#30786
so that local-cluster tests pass.
@codecov
Copy link

codecov bot commented Mar 20, 2023

Codecov Report

Merging #30799 (8cdc5bc) into master (f42f618) will increase coverage by 0.0%.
The diff coverage is 41.6%.

@@           Coverage Diff           @@
##           master   #30799   +/-   ##
=======================================
  Coverage    81.3%    81.3%           
=======================================
  Files         726      726           
  Lines      203490   203494    +4     
=======================================
+ Hits       165599   165620   +21     
+ Misses      37891    37874   -17     

@behzadnouri behzadnouri merged commit e66edeb into solana-labs:master Mar 20, 2023
@behzadnouri behzadnouri deleted the mv-turbine-disabled branch March 20, 2023 20:34
mergify bot pushed a commit that referenced this pull request Mar 21, 2023
If turbine_disabled is true, the commit discards turbine packets
earlier in the pipeline so that they won't interfere with the deduper
and the packets can get through once turbine is enabled again.

This is a prerequisite of:
#30786
so that local-cluster tests pass.

(cherry picked from commit e66edeb)

# Conflicts:
#	core/src/shred_fetch_stage.rs
mergify bot added a commit that referenced this pull request Mar 21, 2023
…30799) (#30828)

* moves turbine-disabled check to shred-fetch-stage (#30799)

If turbine_disabled is true, the commit discards turbine packets
earlier in the pipeline so that they won't interfere with the deduper
and the packets can get through once turbine is enabled again.

This is a prerequisite of:
#30786
so that local-cluster tests pass.

(cherry picked from commit e66edeb)

# Conflicts:
#	core/src/shred_fetch_stage.rs

* resolves mergify merge conflicts

---------

Co-authored-by: behzad nouri <behzadnouri@gmail.com>
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.

None yet

2 participants