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

Raft engine should be able to recover/restart even if there is no disk space to write anything #344

Open
v01dstar opened this issue Dec 7, 2023 · 0 comments

Comments

@v01dstar
Copy link
Contributor

v01dstar commented Dec 7, 2023

If the header of the last log file is broken, and the there is no disk space, raft engine will not be able to start, because it requires rewriting the header during the recovery process.
This can be avoided by deleting the last log file that has broken header. And, no space error will only kick in while there are new writes.

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