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

excludes epoch-slots from nodes with unknown or different shred version (backport #17899) #17916

Merged
merged 1 commit into from
Jun 13, 2021

Conversation

mergify[bot]
Copy link
Contributor

@mergify mergify bot commented Jun 13, 2021

This is an automatic backport of pull request #17899 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.io/

…on (#17899)

Inspecting TDS gossip table shows that crds values of nodes with
different shred-versions are creeping in. Their epoch-slots are
accumulated in ClusterSlots causing bogus slots very far from current
root which are not purged and so cause ClusterSlots keep consuming more
memory:
#17789
#14366 (comment)
#14366 (comment)

This commit updates ClusterInfo::get_epoch_slots, and discards entries
from nodes with unknown or different shred-version.

Follow up commits will patch gossip not to waste bandwidth and memory
over crds values of nodes with different shred-version.

(cherry picked from commit 985280e)
@mergify mergify bot added automerge Merge this Pull Request automatically once CI passes and removed automerge Merge this Pull Request automatically once CI passes labels Jun 13, 2021
@mergify
Copy link
Contributor Author

mergify bot commented Jun 13, 2021

automerge label removed due to a CI failure

@mergify mergify bot added the automerge Merge this Pull Request automatically once CI passes label Jun 13, 2021
@codecov
Copy link

codecov bot commented Jun 13, 2021

Codecov Report

Merging #17916 (16a8714) into v1.7 (dc76675) will decrease coverage by 0.0%.
The diff coverage is 96.9%.

@@            Coverage Diff            @@
##             v1.7   #17916     +/-   ##
=========================================
- Coverage    82.5%    82.5%   -0.1%     
=========================================
  Files         428      428             
  Lines      120090   120123     +33     
=========================================
+ Hits        99090    99111     +21     
- Misses      21000    21012     +12     

@mergify mergify bot merged commit b51ea3c into v1.7 Jun 13, 2021
@mergify mergify bot deleted the mergify/bp/v1.7/pr-17899 branch June 13, 2021 15:56
@brooksprumo brooksprumo mentioned this pull request Aug 23, 2021
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