AntelopeIO / spring

C++ implementation of the Antelope protocol with Savanna consensus
Other
9 stars 5 forks source link

Incompatible chainbase format #138

Closed heifner closed 5 months ago

heifner commented 5 months ago

Branch replay_test

rm -rf main-d
cp /mnt/c/Users/kevin/Downloads/snapshot-2024-05-14-10-eos-v6-0372933677.bin.zst .
zstd -d snapshot-2024-05-14-10-eos-v6-0372933677.bin.zst
./nodeos --data-dir main-d --config-dir mainconfig --snapshot snapshot-2024-05-14-10-eos-v6-0372933677.bin
./nodeos --data-dir main-d --config-dir mainconfig
info  2024-05-14T12:31:58.199 nodeos    protocol_feature_manag:889    operator()           ] Support for builtin protocol feature 'GET_SENDER' (with digest of 'f0af56d2c5a48d60a4a5b5c903edfb7db3a736a94ed589d0b797df33ff9d3e1d') is enabled with preactivation required
warn  2024-05-14T12:31:58.203 nodeos    chain_plugin.cpp:1097         plugin_initialize    ] 13 N5boost10wrapexceptISt12system_errorEE: "state" database format not compatible with this version of chainbase.: Database format not compatible with this version of chainbase
rethrow "state" database format not compatible with this version of chainbase.: Database format not compatible with this version of chainbase:
    {"what":"\"state\" database format not compatible with this version of chainbase.: Database format not compatible with this version of chainbase"}
    nodeos  chain_plugin.cpp:1097 plugin_initialize

appbase: exception thrown during plugin "eosio::chain_plugin" initialization.
"state" database format not compatible with this version of chainbase.: Database format not compatible with this version of chainbase
info  2024-05-14T12:31:58.204 nodeos    main.cpp:158                  operator()           ] nodeos version v1.0.0-dev v1.0.0-dev-6c00c8cee5c26416d3ffdc2f919d9891c3414f58-dirty
info  2024-05-14T12:31:58.204 nodeos    main.cpp:62                   log_non_default_opti ] Non-default options: data-dir = main-d, config-dir = mainconfig, chain-state-db-size-mb = 65536, api-accept-transactions = false, block-log-retain-blocks = 0, p2p-accept-transactions = false, p2p-peer-address = peer.main.alohaeos.com:9876, p2p-peer-address = p2p.eosargentina.io:9876, p2p-peer-address = p2p.genereos.io:9876, p2p-peer-address = eos.defibox.xyz:9876, p2p-peer-address = eos.edenia.cloud:9876, p2p-peer-address = p2p.eos.cryptolions.io:9876, p2p-peer-address = p2p.donates2eden.io:9876, p2p-peer-address = p2p.eos42.io:9876, p2p-peer-address = mainnet.eosamsterdam.net:9876, p2p-peer-address = mainnet.eosarabia.net:3571, p2p-peer-address = p2p2.eoseoul.io:30333, p2p-peer-address = p2p.eosflare.io:9876, p2p-peer-address = p2p.bitmars.one:8080, p2p-peer-address = p2p.eos.detroitledger.tech:1337, p2p-peer-address = peer.eosio.sg:9876, p2p-peer-address = eos.seed.eosnation.io:9876, p2p-peer-address = peer1.eosphere.io:9876, p2p-peer-address = p2p.eossweden.org:9876, p2p-peer-address = eos.p2p.eosusa.io:9882
error 2024-05-14T12:31:58.204 nodeos    main.cpp:217                  main                 ] 13 N5boost10wrapexceptISt12system_errorEE: "state" database format not compatible with this version of chainbase.: Database format not compatible with this version of chainbase
rethrow "state" database format not compatible with this version of chainbase.: Database format not compatible with this version of chainbase:
    {"what":"\"state\" database format not compatible with this version of chainbase.: Database format not compatible with this version of chainbase"}
heifner commented 5 months ago

Appears to only be a problem with block-log-retain-blocks = 0

heifner commented 5 months ago

Not been able to reproduce this. I think it was user error on my part.