Skip to content
This repository has been archived by the owner on Sep 26, 2019. It is now read-only.

[PAN-2372] Consider a world state download stalled after 100 requests with no progress #1007

Merged
merged 5 commits into from
Feb 28, 2019

Conversation

ajsutton
Copy link
Contributor

PR description

Modify the world state downloader to consider a download stalled when 100 requests have failed to return any requested data rather than when a specific node has failed to download 25 times. The previous approach could lead to considering a download stalled if our peers returned partial responses to our requests (e.g. limiting the number of nodes they return per request) even if the data was still available in the network.

ajsutton and others added 3 commits February 28, 2019 11:03
…made 100 requests without getting any new data back.
… outstanding requests, not maximum nubmer of requests until we consider the download stalled.
@ajsutton ajsutton merged commit 5986da9 into PegaSysEng:master Feb 28, 2019
@ajsutton ajsutton deleted the stall-on-no-progress branch February 28, 2019 20:44
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants