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

Broken DB after unexpected system shutdown. #178

Open
just-miner opened this issue Mar 12, 2023 · 2 comments
Open

Broken DB after unexpected system shutdown. #178

just-miner opened this issue Mar 12, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@just-miner
Copy link

After unexpected shutdown (power fail) got error:

2023-03-12 20:20:15 [Node] INFO: Loaded DB at height 819554, 210989 balances, took 11.5 sec
2023-03-12 20:20:15 [Node] WARN: Failed to read block: read(): EOF
2023-03-12 20:20:15 [Node] WARN: failed to read block 819554
2023-03-12 20:20:15 [Node] WARN: expected block hash 5E3A2973B7C89D7A13C4BCE641D44A4F69456932EB3416A433043333F8FBC38D
2023-03-12 20:20:15 [Node] WARN: expected block hash 5E3A2973B7C89D7A13C4BCE641D44A4F69456932EB3416A433043333F8FBC38D
2023-03-12 20:20:15 [Node] WARN: expected block hash 5E3A2973B7C89D7A13C4BCE641D44A4F69456932EB3416A433043333F8FBC38D
2023-03-12 20:20:15 [Node] WARN: expected block hash 5E3A2973B7C89D7A13C4BCE641D44A4F69456932EB3416A433043333F8FBC38D

Last message continued to repeat, only after I manually restarted node again (stop with Ctrl+c) node started as usual.
In this situation auto start node will fail after self powered up.

@madMAx43v3r
Copy link
Owner

I've seen this before and I think I fixed it, how old is the version you are running?

@just-miner
Copy link
Author

just-miner commented Mar 16, 2023

From latest mmx-binaries repo (linux)/x86_64)
It happens not every time with unexpected power fail.

@madMAx43v3r madMAx43v3r added the bug Something isn't working label Mar 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants