-
Notifications
You must be signed in to change notification settings - Fork 4k
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
removes turbine legacy code and already activated features #24080
Conversation
@@ -120,20 +116,12 @@ impl ClusterNodes<BroadcastStage> { | |||
pub(crate) fn get_broadcast_addrs( | |||
&self, | |||
shred: &Shred, | |||
root_bank: &Bank, | |||
_root_bank: &Bank, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove _root_bank?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was intentional. The upcoming changes need to be feature gated as well, so we will need the root bank here to obtain the feature set. I didn't want to remove the plumbing here and then add it back in the next commit.
&self, | ||
slot_leader: Pubkey, | ||
shred: &Shred, | ||
root_bank: &Bank, | ||
_root_bank: &Bank, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove _root_bank?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same as above
test_skip_repair in retransmit-stage is no longer relevant because following: solana-labs#19233 repair packets are filtered out earlier in window-service and so retransmit stage does not know if a shred is repaired or not. Also, following turbine peer shuffle changes: solana-labs#24080 the test has become flaky since it does not take into account how peers are shuffled for each shred.
…4121) test_skip_repair in retransmit-stage is no longer relevant because following: #19233 repair packets are filtered out earlier in window-service and so retransmit stage does not know if a shred is repaired or not. Also, following turbine peer shuffle changes: #24080 the test has become flaky since it does not take into account how peers are shuffled for each shred.
…4121) test_skip_repair in retransmit-stage is no longer relevant because following: #19233 repair packets are filtered out earlier in window-service and so retransmit stage does not know if a shred is repaired or not. Also, following turbine peer shuffle changes: #24080 the test has become flaky since it does not take into account how peers are shuffled for each shred. (cherry picked from commit 2282571)
…4121) (#24126) test_skip_repair in retransmit-stage is no longer relevant because following: #19233 repair packets are filtered out earlier in window-service and so retransmit stage does not know if a shred is repaired or not. Also, following turbine peer shuffle changes: #24080 the test has become flaky since it does not take into account how peers are shuffled for each shred. (cherry picked from commit 2282571) Co-authored-by: behzad nouri <behzadnouri@gmail.com>
…4121) test_skip_repair in retransmit-stage is no longer relevant because following: #19233 repair packets are filtered out earlier in window-service and so retransmit stage does not know if a shred is repaired or not. Also, following turbine peer shuffle changes: #24080 the test has become flaky since it does not take into account how peers are shuffled for each shred. (cherry picked from commit 2282571) # Conflicts: # core/src/retransmit_stage.rs
…ckport #24121) (#24663) * removes outdated and flaky test_skip_repair from retransmit-stage (#24121) test_skip_repair in retransmit-stage is no longer relevant because following: #19233 repair packets are filtered out earlier in window-service and so retransmit stage does not know if a shred is repaired or not. Also, following turbine peer shuffle changes: #24080 the test has become flaky since it does not take into account how peers are shuffled for each shred. (cherry picked from commit 2282571) # Conflicts: # core/src/retransmit_stage.rs * removes mergify merge conflicts Co-authored-by: behzad nouri <behzadnouri@gmail.com>
…24080) (#24671) * removes deterministic-shred-seed feature (cherry picked from commit 855801c) * removes turbine peers shuffle patch feature (cherry picked from commit d0b850c) # Conflicts: # core/benches/cluster_nodes.rs # core/src/cluster_nodes.rs * removes legacy compatibility turbine peers shuffle code (cherry picked from commit 2b718d0) # Conflicts: # core/src/cluster_nodes.rs # gossip/tests/cluster_info.rs * removes mergify merge conflicts * retains feature-ids in feature_set.rs Co-authored-by: behzad nouri <behzadnouri@gmail.com>
Problem
Features are already activated on all clusters,
so the old compatibility code is no longer needed.
Summary of Changes