-
Notifications
You must be signed in to change notification settings - Fork 107
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 slowness when syncing near the tip #3375
Comments
Hey team! Please add your planning poker estimate with ZenHub @conradoplg @dconnolly @jvff @oxarbitrage @teor2345 @upbqdn |
@conradoplg how is this different from ticket #3042? |
IMO that's a bug report that may or may not be caused by this issue, or by another, or by a combination of those. I think it's clearer to have this ticket to track this specific issue. After we solve the main slowness tickets we can reach out for the user and check if they still get the same behaviour or not |
What seems to happen is that it exhausts the prospective tip set and it has to restart the sync, over and over again. (Haven't investigated why)
|
I think the notfound changes might fix this, so we should look into it after the following tasks are complete: |
This ticket might be made redundant by: Let's remove it from this sprint, and check again after #3745 has been used for a while. If it's still a problem, we can do this ticket to make the full sync CI faster. |
I think I have seen this issue reoccur on #main as of commit 859b67d:
|
Can you post the info-level logs from before these logs?
These repeated What should happen is that the client should get removed by the peer set, then we should stop sending requests to its service. If we're not removing the clients quickly enough, then they could fill up our whole peer set, causing hangs. This is a completely different error to the original error, so maybe we should open another ticket? |
I'm having trouble reproducing, I may have to do another full sync to reproduce :/ |
Motivation
It seems that sync becomes slow when it's near the tip. Investigate to find the cause and fix it.
There is some discussion about it in the #slow-sync thread in Discord.
Diagnostics
This is unexpected - the syncer hangs for a few minutes before this log, and there are two chains a long way from the tip:
https://github.com/ZcashFoundation/zebra/runs/5325705831?check_suite_focus=true#step:7:10962
Specifications
Designs
Related Work
Possible Causes:
Related Tickets:
The text was updated successfully, but these errors were encountered: