-
Notifications
You must be signed in to change notification settings - Fork 461
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
Fix forward sync may stuck on slow peer #4725
Conversation
Piggibacked this on several smoke tests for consistency. 32 mainnet runs probably. No run stucked on slow peer. |
5e2c230
to
391db6e
Compare
[TestCase(10, 0, 1, 0)] | ||
[TestCase(10, 10, 1, 0.5)] | ||
[TestCase(10, 10, 0.5, 0.25)] | ||
[Retry(3)] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why do we need retry?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The logic is random, already have margin of error, but sometimes it still fails.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks ok. It would be great to sync pre-merge node/nodes too. For example, gnosis. We should check engine API hive tests too. I would consider running it with higher pruning cache to see how node will recover after timeout.
391db6e
to
e70ec56
Compare
All hive test passed. |
Changes:
Types of changes
What types of changes does your code introduce?
Put an
x
in the boxes that applyTesting
Requires testing
In case you checked yes, did you write tests??
Comments about testing , should you have some (optional)
Further comments (optional)
If this is a relatively large or complex change, kick off the discussion by explaining why you chose the solution you did and what alternatives you considered, etc...