-
Notifications
You must be signed in to change notification settings - Fork 20.4k
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
Geth can't recover after a crash #30867
Comments
There are two distinct variants of "unexpected shutdown".
In order to protect against 1), we just need to ensure that the writes happen in proper order, primarily so that the relation between freezer vs leveldb is consistent. In order to protect against 2), we need to ensure that Your version of geth is a few releases old, it's from August. ISTR @rjl493456442 did some work related to recovery of freezer-data somewhat recently. |
@nuliknol could you try updating your geth version and try to recover again? |
@holiman Hi, is there any ways/parameters to control the tradeoff between performance and safety, so that when the parameter is tuned to one side, the geth node has best performance but might lose data on machine failure, and when the parameter is tuned to the other side, the geth node is safe against machine failure but is less performant. |
One of the machines I am running geth had a kernel panic, so I had to reboot. After this , geth launch failed with the following message:
Version: geth 1.14.8
I think you need to run tests during which you do hard resets of the machine, or disconnect the disk drive simulating unexpected shutdown.
The text was updated successfully, but these errors were encountered: