cosmos-sdk icon indicating copy to clipboard operation
cosmos-sdk copied to clipboard

[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)

Open chiwalfrm opened this issue 5 months ago • 11 comments

Is there an existing issue for this?

  • [x] 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/[email protected]/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

[email protected]

How to reproduce?

No response

chiwalfrm avatar Sep 23 '24 17:09 chiwalfrm