Skip to content
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

ark snapshot:rollback/truncate seemingly cause corruption #2299

Closed
faustbrian opened this issue Mar 25, 2019 · 2 comments
Closed

ark snapshot:rollback/truncate seemingly cause corruption #2299

faustbrian opened this issue Mar 25, 2019 · 2 comments

Comments

@faustbrian
Copy link
Contributor

Describe the bug
Running the rollback or truncate command for snapshots at the moment seems to cause corruption of the database.

After I run ark snapshot:rollback --height=xxx or ark snapshot:truncate I get error messages like Expected to find 51 delegates but only found 0. This indicates an issue with the genesis block & delegates.

To Reproduce
Steps to reproduce the behavior:

  1. Stop all core processes
  2. Run ark snapshot:rollback --height=xxx or ark snapshot:truncate
  3. Restart all processes
  4. Different message about delegates, genesis block or wrong transaction count in the database can appear.

Expected behavior
Rollback a few blocks or truncate the database, restart and sync back with the network.

@ghost
Copy link

ghost commented Mar 25, 2019

This issue or pull request needs further investigation. Please wait for further information, thank you.

@faustbrian
Copy link
Contributor Author

#2302

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant