-
Notifications
You must be signed in to change notification settings - Fork 20.3k
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
Snap sync is stuck on last 65 blocks #30886
Comments
Looks like the state syncer is not running, or it exits with some unknown reasons. Please try to run with DEBUG level log and attach the entire log file here. |
debugLog.txt |
Add some logs here:
And find that the last round of data fetched contains the pivot block data:
see detailed log: geth_DEBUG_extra.txt Then, due to oldPivot ==nil, state sync is canceled and restarted. |
It seems that all the peers connected to your node are refusing to respond to snap sync requests.
For some reasons the requested state is not reachable at the peers and you might need to investigate |
System information
Geth version: a fork from
v1.14.7
, add some non-critical changesCL client & version: https://github.com/piplabs/story v0.13.0.
OS & Version: OSX
Commit hash : (if
develop
)Expected behaviour
Our testnet contains about 100 nodes.
All nodes use a fork of geth as EL, starting with flag
--syncmode=full
.One difference between our CL and prysm is that our CL request fcu to EL for snap sync with the same block hash for head, safe, and finalized block. Will this affect the snap sync?
Then I start an EL with flag
--syncmode=snap
.The expected behaviour is that the node completes snap sync within 2 days as full sync takes about 2 days in our testnet and there're less than 2 million blocks in total.
Actual behaviour
EL completes header sync quickly and starts fetching batch of receipts and block bodies, but is stuck at 99.99% progress for 2 days.
It keeps logging:
Syncing: chain download in progress synced=99.99% chain=8.85GiB headers=1,050,[email protected] bodies=1,049,[email protected] receipts=1,049,[email protected] eta=1.844s
Steps to reproduce the behaviour
Backtrace
flags:
geth_config.txt
Logs:
snapsync_log.txt
snapsync_2.txt
@holiman this is the issue I asked yesterday. please take a look
The text was updated successfully, but these errors were encountered: