Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This document will capture the troubleshooting that the team performs regularly while tacking problems in our several environments. This could include tribal knowledge or take that a step further to include lessons learned

Database Dirty Flag

Relevant Issues

  1. V1 History config:

    1. https://developers.fioprotocol.io/docs/chain/node-build-history

    2. warning Without the history-index-state-db-size-mb and history-state-db-size-mb settings nodes may stop with the warning: Database has reached an unsafe level of usage, shutting down to avoid corrupting the database. Please increase the value set for chain-state-db-size-mb and restart the process!

  2. Ye olde folder deletion problem where you have to manually delete some folders when doing a replay

    1. Jira Legacy
      serverSystem JIRA
      serverId5f0d8161-d4cf-3d17-96b1-53b2b2b5013d
      keyBD-1953

    2. To solve this you have to delete the history and history-state folders if you are not running v1 history

BP Input

[Ross/EOSphere} Restart with a snapshot from here and check the nodeos usage example at the bottom.

https://snapshots.eosphere.io

Also delete the two history folders in the nodeos binary directory you started from.

Outcome

Thanks Ross; this particular setup has /var/lib/fio/ with data and history folders. It has no snapshots nor blocks dirs in data. There were two history* folders.

Taking what you said and doing what I could, I deleted the contents of the two history folders (backed up elsewhere). and restarted.

All is good with that node now! Repeated on my third node and wallah - Great. Thank you so much.