raft-engine icon indicating copy to clipboard operation
raft-engine copied to clipboard

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

Open v01dstar opened this issue 2 years ago • 0 comments

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.

v01dstar avatar Dec 07 '23 02:12 v01dstar