Open jlopp opened 3 years ago
Hey @jlopp. Thanks for reporting this.
We have a couple of "known" edge cases where file corruption can occur on non-clean shutdown. Running out of disk space is likely to exercise at least one of those.
I'd like to take another look at how we handle writing files to disk (these are the global MMMR files) if we can get some time to do so. Hopefully we can get this into a more robust state prior to the final scheduled hardfork early next year.
Related - https://github.com/mimblewimble/grin/pull/3266 Also related - https://github.com/mimblewimble/grin/issues/3352
Describe the bug grin fails to recover gracefully from a crash resulting from running out of disk space.
To Reproduce Steps to reproduce the behavior:
Relevant Information
Desktop (please complete the following information):
I ran grin --clean and it appears to have wiped all 6 GB of chain data; the node is now resyncing from genesis.