-
Notifications
You must be signed in to change notification settings - Fork 21
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
Fix node storage corruption automatically #704
Comments
PruStephan
added a commit
that referenced
this issue
Dec 9, 2023
Problem: Currently the only way to fix the problem with node corruption is to manually delete the directory and load snapshot anew. Solution: Add script to do all of this automatically
3 tasks
PruStephan
added a commit
that referenced
this issue
Dec 9, 2023
Problem: Currently the only way to fix the problem with node corruption is to manually delete the directory and load snapshot anew. Solution: Add script to do all of this automatically
PruStephan
added a commit
that referenced
this issue
Dec 9, 2023
Problem: Currently the only way to fix the problem with node corruption is to manually delete the directory and load snapshot anew. Solution: Add script to do all of this automatically
PruStephan
added a commit
that referenced
this issue
Dec 9, 2023
Problem: Currently the only way to fix the problem with node corruption is to manually delete the directory and load snapshot anew. Solution: Add script to do all of this automatically
PruStephan
added a commit
that referenced
this issue
Dec 9, 2023
Problem: Currently the only way to fix the problem with node corruption is to manually delete the directory and load snapshot anew. Solution: Add script to do all of this automatically
PruStephan
added a commit
that referenced
this issue
Dec 14, 2023
PruStephan
added a commit
that referenced
this issue
Dec 14, 2023
PruStephan
added a commit
that referenced
this issue
Dec 18, 2023
PruStephan
added a commit
that referenced
this issue
Dec 18, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Clarification and motivation
octez-node
can sometime exit with leaving a corrupted state on disk, which happens more frequently if it's interrupted abruptly.The node can sometimes fix the state by itself, but it can also fail to do so, preventing it from starting.
This affects also nodes launched with our
systemd
services, which can fail to start for this reason.It should be possible to automatically detect the failure of the node to fix its corrupted state and consequently perform a cleanup of the node storage and a re-sync of it.
Acceptance criteria
When our
tezos-node
service is started with a corrupted state thatoctez-node
cannot fix by itself, then the service fixes it instead.The text was updated successfully, but these errors were encountered: