-
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(sync): Temporarily set full verification concurrency to 30 blocks #4726
Conversation
This comment was marked as outdated.
This comment was marked as outdated.
Codecov Report
@@ Coverage Diff @@
## main #4726 +/- ##
==========================================
- Coverage 78.87% 78.76% -0.12%
==========================================
Files 306 306
Lines 37557 37671 +114
==========================================
+ Hits 29624 29670 +46
- Misses 7933 8001 +68 |
8ec1e7a
to
1c6958d
Compare
FYI I tried this out and my node still gets stuck at height 1719629 |
9bdd987
to
758dd70
Compare
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 code looks good to me however i am not sure if it brings too much practical improvements. Teor reported some improvements in the sync using this PR but further (unrelated?) problems a bit further. Conrado reported no benefits.
With that said, feel free to merge.
This comment was marked as outdated.
This comment was marked as outdated.
758dd70
to
88e2517
Compare
I'm running a full sync test here, to check if this solves the remaining syncer stalls: It should be faster than PR #4752. |
(I removed the batch verifier changes from this PR, I'll submit them in another PR.) |
Using a partly-synced local Zebra instance, I can get Zebra to sync to the tip with:
I'm running full syncs to confirm, but we might want to merge them anyway, so we can move on with other work. |
Admin merged, as the full sync got stuck and we need the fix anyways. |
Motivation
We're seeing a lot of sync failures in CI and on developer machines, because some large orchard blocks take a long time to verify.
Depends-On: #4752
Close #4715
Close #4729
Close #4650
Solution
Until we implement orchard batching, temporarily limit full verification to 30 blocks in parallel.
Syncer changes:
Related changes:
Review
This bug causes a lot of CI workflows to run slow or fail, so it's a high priority.
I'm still testing it locally, it also needs a full sync test.
Reviewer Checklist