-
Notifications
You must be signed in to change notification settings - Fork 20.1k
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
eth_syncing returns False when syncing to recover head state #25845
Comments
Same here also, the geth sync is too slow. I have attached a node which had blocks 3 hours back and the sync alongside with CL is too slow... INFO [09-22|14:11:39.074] Imported new potential chain segment blocks=1 txs=395 mgas=29.999 elapsed=279.611ms mgasps=107.288 number=15,588,331 hash=8c32b1..78282b age=3h34m4s dirty=0.00B Any help will be great or we wait for this to catchup in few days time ? Because it will never catchup if this keeps on increasing. |
This is as expected, and arguably correct. Geth doesn't "see" into the future, we're simply handed blocks to import. We're not actively doing a sync (e.g. snap-sync), but just importing blocks, one by one. |
@Sreeram1993 Geth seems to import blocks fairly reasonably fast, 280ms. There's nothing seemingly wrong there, perhaps the machine being slightly under-powered. |
Thanks a lot @karalabe for the update. And yes an update is I got my archival nodes synced last day. |
Ok. My goal is to be able to detect this situation then, and if you don't want to call it syncing, I request an alternative API to detect when the node is behind and catching up. |
I've proposed this a few weeks ago to expose some more metadata from the consensus client towards the execution client to be able to detect and expose this status nugget. It will probably take a bit to get it in, but I definitely agree that we should be able to expose this information. |
If a v2 |
💯 |
Guys, Here we have observed one thing which is that when we transfer geth's data to another server and start syncing from there it takes a lot of time to sync because it has very slow syncing.
|
System information
Geth version: v1.10.23
OS & Version: Linux
Expected behaviour
eth.syncing is True when node is syncing
Actual behaviour
eth.syncing is false
Steps to reproduce the behaviour
doesn't always happen but here's what happened
sigkill geth and restart it
geth is now resyncing, logs look like:
however,
eth.syncing
is False during this.It may have been in some unusual state because the import eventually stopped importing "new potential chain segment", with:
The text was updated successfully, but these errors were encountered: