BankingStage Forwarding Filter#685
Conversation
|
Backports to the stable 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. |
|
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. |
tao-stones
left a comment
There was a problem hiding this comment.
overall looks good, it makes sense to not to forward packets that should be filtered by qos, wish this logic is in one place with whole qos logic.
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #685 +/- ##
=========================================
- Coverage 81.9% 81.9% -0.1%
=========================================
Files 851 851
Lines 230475 230486 +11
=========================================
- Hits 188785 188782 -3
- Misses 41690 41704 +14 |
| coalesce, | ||
| true, | ||
| None, | ||
| true, // only staked connections should be voting |
There was a problem hiding this comment.
thanks for making vote explicit, sorry for additional code/test changes, hope won't make bp harder
* add PacketFlags::FROM_STAKED_NODE * Only forward packets from staked node * fix local-cluster test forwarding * review comment * tpu_votes get marked as from_staked_node (cherry picked from commit 1744e9e) # Conflicts: # sdk/src/packet.rs
* add PacketFlags::FROM_STAKED_NODE * Only forward packets from staked node * fix local-cluster test forwarding * review comment * tpu_votes get marked as from_staked_node (cherry picked from commit 1744e9e) # Conflicts: # sdk/src/packet.rs
* add PacketFlags::FROM_STAKED_NODE * Only forward packets from staked node * fix local-cluster test forwarding * review comment * tpu_votes get marked as from_staked_node (cherry picked from commit 1744e9e) # Conflicts: # sdk/src/packet.rs
* add PacketFlags::FROM_STAKED_NODE * Only forward packets from staked node * fix local-cluster test forwarding * review comment * tpu_votes get marked as from_staked_node (cherry picked from commit 1744e9e) # Conflicts: # sdk/src/packet.rs
* BankingStage Forwarding Filter (#685) * add PacketFlags::FROM_STAKED_NODE * Only forward packets from staked node * fix local-cluster test forwarding * review comment * tpu_votes get marked as from_staked_node (cherry picked from commit 1744e9e) # Conflicts: # sdk/src/packet.rs * resolve conflict * remove test_ledger_cleanup_service * Revert "remove test_ledger_cleanup_service" This reverts commit 68a580d. * revert: local-cluster test changes --------- Co-authored-by: Andrew Fitzgerald <apfitzge@gmail.com> Co-authored-by: Trent Nelson <trent@solana.com>
* BankingStage Forwarding Filter (#685) * add PacketFlags::FROM_STAKED_NODE * Only forward packets from staked node * fix local-cluster test forwarding * review comment * tpu_votes get marked as from_staked_node (cherry picked from commit 1744e9e) # Conflicts: # sdk/src/packet.rs * resolve conflict * revert: local-cluster test changes --------- Co-authored-by: Andrew Fitzgerald <apfitzge@gmail.com> Co-authored-by: Trent Nelson <trent@solana.com>
…a-xyz#697) * BankingStage Forwarding Filter (anza-xyz#685) * add PacketFlags::FROM_STAKED_NODE * Only forward packets from staked node * fix local-cluster test forwarding * review comment * tpu_votes get marked as from_staked_node (cherry picked from commit 1744e9e) # Conflicts: # sdk/src/packet.rs * resolve conflict * revert: local-cluster test changes --------- Co-authored-by: Andrew Fitzgerald <apfitzge@gmail.com> Co-authored-by: Trent Nelson <trent@solana.com>
Problem
Summary of Changes
Fixes #