-
Notifications
You must be signed in to change notification settings - Fork 285
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
[2.6][T4] - Sync from 0 does not work #3070
Comments
Thanks for opening this issue! A maintainer will review this in the next few days and explicitly select labels so you know what's going on. If no reviewer appears after a week, a reminder will be sent out. |
@galperins4 I have tried to reproduce this on 2 servers:
In both (so far) there was no errors or stops in syncin and both are well past Round 3200. I'll let them both sync and let you know if they stop somewhere along the way. In the meantime can you on that server try dropping DB and start again and see if it goes past that?
|
I was also able to sync from 0 on a brand new server. |
@galperins4 I didn't experience any issues syncing from 0 on my two nodes, both synced without errors or stops up to current height. If you experience this again or some new errors appear don't hesitate to re-open this issue. |
This issue has been closed. If you wish to re-open it please provide additional information. |
This issue is real, it just does not manifest every time and depends on network conditions. |
This issue has now been re-opened. If applicable please provide additional information as requested by one of the reviewers. |
Here is a possible scenario that could cause the described problem (there may be more bugs exhibiting the same symptom): The anonymous function that downloads a chunk of blocks, which calls As a result the produced array, where all chunks are concatenated, could have neighboring elements (blocks) with non-sequential heights. This would confuse the caller and cause exactly the symptoms described in this bug report - in the log we have last downloaded block with height 132801 and trying to apply block 133602. The gap is 801 - exactly 2 chunks of 400 blocks each failed downloading (the printout is off-by-one). This will be fixed by #3092 |
This issue has been closed. If you wish to re-open it please provide additional information. |
Expected Behavior
Sync from 0 on a new install with no issues
Current Behavior
Errors noted during sync starting around round 2483 and the blockchain stops and says 100% in sync at round 3200 and no more blocks are downloaded.
Possible Solution
Unknown
Steps to Reproduce (for bugs)
Sync ark database from 0. Errors that pop up are as follows:
Context
Sync from 0 should work with no errors otherwise new installs have to rely on snapshots which is not preferred compared to complete sync from 0.
Your Environment
The text was updated successfully, but these errors were encountered: