-
Notifications
You must be signed in to change notification settings - Fork 203
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
Node crashed due to DB corruption #808
Comments
We have managed to get a similar corrupted DB. This needs investigation. |
@iulianpascalau - do you know when your DBs got corrupted? Not entirely sure if it's related to my attack, but sharing anyways. I ran my spam tool the following days/time:
The corrupted DB issue could potentially be related to the spam I did in #799 since nodes were automatically killed by the OS/OOM-reaped. Such unclean shutdowns can lead to file corruption. Might be worthwhile comparing the timestamps of when your internal node DB:s started to get corrupted to when I ran my tool (+ ~1 hour after I stopped it because of delayed propagated txs). |
The DB was got corrupted Friday 13th of December around 06:30 UTC |
Ok, thanks for the info. We have suspected force shutdown to be the trigger of DB corruption. The DB saved from you guys will be used to test if there is a possibility to always check for error when we try to open a DB and (if possible) to make level DB rebuilt its indexes and recover as much as possible. |
Fixed, reference PR #1425 (node will detect and will try to fix at runtime a corrupted DB) |
Node address: 7ceb849f04694fc1a4c35bc099ef66b2bb7f753a56e23177643bda10eef02873
Saved DB : http://elrond.community/internal_key_0.tar.gz
INFO [2019-12-13 08:04:15] starting node version=v1.0.61-0-ge6dbedbc/go1.13.3/linux-amd64 pid=15203
INFO [2019-12-13 08:04:15] start time formatted=Wed Dec 11 17:00:00 CET 2019 seconds=1576080000
INFO [2019-12-13 08:04:15] shard info started in shard=3
WARN [2019-12-13 08:04:16] No views for current node
panic: leveldb: internal key "", len=0: invalid length [recovered]
panic: leveldb: internal key "", len=0: invalid length [recovered]
panic: leveldb: internal key "", len=0: invalid length
The text was updated successfully, but these errors were encountered: