You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Getting error when trying to migrate from goleveldb to versionDB.
Error message:
Error: failed to initialize database: Corruption: VersionBuilder: Cannot add table file #2 to level 0 since it is already in the LSM tree on level 0 The file /home/tom/.tmp-evmosd/data/blockstore.db/MANIFEST-000004 may be corrupted.
To Reproduce
Steps to reproduce the behavior:
Run a local node with goleveldb for a while
Stop the node
Perform the migration procedure mentioned in the migration docs:
evmosd changeset dump data --home ~/.tmp-evmosd
evmosd changeset verify data
37e3a66ee7facb4137e72f27027e409730b282388cb6d8053c8c0162320bc84e
{"version":"23","storeInfos":[{"name":"acc","commitId": ...
evmosd changeset build-versiondb-sst ./data ./sst
evmosd changeset ingest-versiondb-sst ~/.tmp-evmosd/data/versiondb sst/*.sst --move-files --maximum-version 23
evmosd changeset verify data --save-snapshot snapshot
37e3a66ee7facb4137e72f27027e409730b282388cb6d8053c8c0162320bc84e
{"version":"23","storeInfos":[{"name":"acc","commitId":{"version":"23","hash": ...
evmosd changeset restore-app-db snapshot application.db
version: 23, app hash: E1F14F2F27588F9B66701CE2D55B300EDA94E7440EED5D84ED2674299F232183
mv application.db ~/.tmp-evmosd/data/
# updated the db_backend to 'rocksdb'
evmosd start --home ~/.tmp-evmosd --chain-id evmos_9000-1
11:49AM INF Unlocking keyring module=server
11:49AM INF starting ABCI with Tendermint module=server
11:49AM INF starting node with ABCI Tendermint in-process module=server
11:49AM ERR failed init node error="failed to initialize database: Corruption: VersionBuilder: Cannot add table file #2 to level 0 since it is already in the LSM tree on level 0 The file /home/tom/.tmp-evmosd/data/blockstore.db/MANIFEST-000004 may be corrupted." module=server
Question: Am I missing a step before starting the node again?
Expected behavior
Migration should be successful and the node should start from the corresponding height
Describe the bug
Getting error when trying to migrate from goleveldb to versionDB.
Error message:
To Reproduce
Steps to reproduce the behavior:
Question: Am I missing a step before starting the node again?
Expected behavior
Migration should be successful and the node should start from the corresponding height
Additional context
VersionDB commit used:
Noted also that the app hash is different when restoring the app db.
Here's the block info (app hash:
8D7912F77B21A378F3FE3C8CF8728E3F1F2C43CA0256343B2B0E68897F9F85B4
):And this is the output from the restore-app-db command:
The text was updated successfully, but these errors were encountered: