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

reverts wide fanout in broadcast when the root node is down (backport #26359)#27183

Merged
mergify[bot] merged 1 commit intov1.11from
mergify/bp/v1.11/pr-26359
Aug 16, 2022
Merged

reverts wide fanout in broadcast when the root node is down (backport #26359)#27183
mergify[bot] merged 1 commit intov1.11from
mergify/bp/v1.11/pr-26359

Conversation

@mergify
Copy link
Copy Markdown
Contributor

@mergify mergify Bot commented Aug 16, 2022

This is an automatic backport of pull request #26359 done by Mergify.


Mergify commands and options

More conditions and actions can be found in the documentation.

You can also trigger Mergify actions by commenting on this pull request:

  • @Mergifyio refresh will re-evaluate the rules
  • @Mergifyio rebase will rebase this PR on its base branch
  • @Mergifyio update will merge the base branch into this PR
  • @Mergifyio backport <destination> will backport this PR on <destination> branch

Additionally, on Mergify dashboard you can:

  • look at your merge queues
  • generate the Mergify configuration with the config editor.

Finally, you can contact us on https://mergify.com

A change included in
#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.

(cherry picked from commit 3b87aa9)
@mergify mergify Bot added the automerge Merge this Pull Request automatically once CI passes label Aug 16, 2022
@mergify mergify Bot merged commit 1797e90 into v1.11 Aug 16, 2022
@mergify mergify Bot deleted the mergify/bp/v1.11/pr-26359 branch August 16, 2022 22:11
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

automerge Merge this Pull Request automatically once CI passes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant