- Published on
Investigation · Part 11 of 20 · What survives a crash
Recovery Code Must Survive a Crash Too
A recovery that writes files can crash too, and then a second recovery must give the same result. I killed my store 500 times during its own recovery: one design always recovered correctly, the other doubled a counter 53 times. The fix is one number in the snapshot.