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

records hash of timed-out pull responses (backport #17263) #17410

Merged
merged 1 commit into from
May 22, 2021

Conversation

mergify[bot]
Copy link
Contributor

@mergify mergify bot commented May 22, 2021

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

Gossip should record hash of pull responses which are timed out and
fail to insert:
https://github.com/solana-labs/solana/blob/ed51cde37/core/src/crds_gossip_pull.rs#L397-L400

so that they are excluded from the next pull request:
https://github.com/solana-labs/solana/blob/ed51cde37/core/src/crds_gossip_pull.rs#L486-L491

otherwise the next pull request will likely include the same timed out
values and waste bandwidth.

(cherry picked from commit a7870cd)
@mergify mergify bot added the automerge Merge this Pull Request automatically once CI passes label May 22, 2021
@codecov
Copy link

codecov bot commented May 22, 2021

Codecov Report

Merging #17410 (803339b) into v1.6 (de6de7a) will decrease coverage by 0.0%.
The diff coverage is 84.6%.

@@            Coverage Diff            @@
##             v1.6   #17410     +/-   ##
=========================================
- Coverage    82.7%    82.7%   -0.1%     
=========================================
  Files         423      423             
  Lines      116418   116418             
=========================================
- Hits        96297    96289      -8     
- Misses      20121    20129      +8     

@mergify mergify bot merged commit 2159284 into v1.6 May 22, 2021
@mergify mergify bot deleted the mergify/bp/v1.6/pr-17263 branch May 22, 2021 18:35
@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