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

[Bug]: Full node powered off without proper shut down and now has error "failed to load latest version: failed to load store" on restart (panic) #21862

Open
1 task done
chiwalfrm opened this issue Sep 23, 2024 · 3 comments
Labels

Comments

@chiwalfrm
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

What happened?

A bug happened!

I accidentally powered off a full node without doing a proper shut down, and now I can't restart it. On restart, it dumps with this error:

"failed to load latest version: failed to load store: wanted to load target 14822549 but only found up to 14822548 [cosmossdk.io/store@v1.0.2/rootmulti/store.go:255]"

It's only off by 1 block but can't start. I also can't restart a sync with a snapshot because this is a full archive node that synced from block 0 (Genesis). I would like to know how to fix this so I can continue.

Cosmos SDK Version

store@v1.0.2

How to reproduce?

No response

@julienrbrt
Copy link
Member

Have you tried to rollback by one block: <appd> rollback ?

@chiwalfrm
Copy link
Author

I tried rollback and rollback --hard and it doesn't do anything, these commands has the same panic/error

@chiwalfrm
Copy link
Author

chiwalfrm commented Sep 23, 2024

I posted the logs here https://jmp.sh/8CDnuL7s

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: 📋 Backlog
Development

No branches or pull requests

2 participants