i turn on the history_plugin the occur exception,Need to replay??
2018-07-26T21:26:57.682 thread-0 history_plugin.cpp:275 plugin_initialize ] --filter-on * enabled. This can fill shared_mem, causing nodeos to stop.
2018-07-26T21:26:57.682 thread-0 main.cpp:105 main ] nodeos version 75635168
2018-07-26T21:26:57.682 thread-0 main.cpp:106 main ] eosio root is /home/william/.local/share
2018-07-26T21:26:57.789 thread-0 main.cpp:125 main ] 3020000 fork_database_exception: Fork database exception
fork database is inconsistent with shared memory
{"db":0,"head":7575694}
thread-0 controller.cpp:259 init
{}
thread-0 chain_plugin.cpp:603 plugin_startup
I have the same error too.
when I run
nodeos -e -p eosio --plugin eosio::chain_api_plugin --plugin eosio::history_api_plugin
2018-07-27T08:19:53.567 thread-0 main.cpp:125 main ] 3020000 fork_database_exception: Fork database exception
fork database is inconsistent with shared memory
{"db":0,"head":1}
thread-0 controller.cpp:259 init
{}
thread-0 chain_plugin.cpp:603 plugin_startup
@williamleecn I find an answer for just delete the delete-all-blocks like following
nodeos -e -p eosio --plugin eosio::chain_api_plugin --plugin eosio::history_api_plugin --delete-all-blocks
It could be because of unclean shutdown. Try to replay with --replay --fix-reversible-blocks option
not working ,have idea?
I dell all data ,then okay
if you already add your plugin list into you config.ini file, you can fix this by: "nodeos -e -p eosio --delete-all-blocks"
you can delete .local/share/eosio/nodeos/data and try it again
I don not want to delete data .
Most helpful comment
@williamleecn I find an answer for just delete the delete-all-blocks like following