Skip to content

eth/downloader: save the correct delivery time for state sync #21427

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 7, 2020

Conversation

karalabe
Copy link
Member

@karalabe karalabe commented Aug 7, 2020

The state sync delivery time was accounted as the time the response reached the trie node data processor. But that's wrong, because the processor might be blocked processing a previous response from someone else. That would mean that with enough load on the processor, the delivery times will get pushed more and more out, causing the RTT calculations to be totally off.

@karalabe karalabe added this to the 1.9.19 milestone Aug 7, 2020
Copy link
Contributor

@holiman holiman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@karalabe karalabe merged commit 8f24097 into ethereum:master Aug 7, 2020
gzliudan pushed a commit to gzliudan/XDPoSChain that referenced this pull request May 22, 2025
gzliudan pushed a commit to gzliudan/XDPoSChain that referenced this pull request May 26, 2025
gzliudan pushed a commit to gzliudan/XDPoSChain that referenced this pull request May 28, 2025
gzliudan pushed a commit to gzliudan/XDPoSChain that referenced this pull request May 29, 2025
gzliudan pushed a commit to gzliudan/XDPoSChain that referenced this pull request May 30, 2025
gzliudan pushed a commit to gzliudan/XDPoSChain that referenced this pull request Jun 3, 2025
gzliudan pushed a commit to gzliudan/XDPoSChain that referenced this pull request Jun 3, 2025
gzliudan pushed a commit to gzliudan/XDPoSChain that referenced this pull request Jun 9, 2025
gzliudan pushed a commit to gzliudan/XDPoSChain that referenced this pull request Jun 17, 2025
gzliudan added a commit to XinFinOrg/XDPoSChain that referenced this pull request Jun 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants