solana/core
behzad nouri 3b87aa9227
reverts wide fanout in broadcast when the root node is down (#26359)
A change included in
https://github.com/solana-labs/solana/pull/20480
was that when the root node in turbine broadcast tree is down, the
leader will broadcast the shred to all nodes in the first layer.
The intention was to mitigate the impact of dead nodes on shreds
propagation, because if the root node is down, then the entire cluster
will miss out the shred.
On the other hand, if x% of stake is down, this will cause 200*x% + 1
packets/shreds ratio at the broadcast stage which might contribute to
line-rate saturation and packet drop.
To avoid this bandwidth saturation issue, this commit reverts that logic
and always broadcasts shreds from the leader only to the root node.
As before we rely on erasure codes to recover shreds lost due to staked
nodes being offline.
2022-08-16 19:40:06 +00:00
..
benches removes buffering when generating coding shreds in broadcast (#25807) 2022-08-11 12:44:27 +00:00
src reverts wide fanout in broadcast when the root node is down (#26359) 2022-08-16 19:40:06 +00:00
tests Refactor: Add `RuntimeConfig` field to Bank (#26946) 2022-08-05 20:49:00 +01:00
.gitignore
Cargo.toml chore: bump serial_test from 0.8.0 to 0.9.0 (#27097) 2022-08-15 15:53:12 -06:00
build.rs Remove frozen ABI modules from solana-sdk 2020-10-20 16:11:30 -07:00