This repository has been archived by the owner on Feb 12, 2024. It is now read-only.
Prevent mfs corruption #1743
Labels
exp/expert
Having worked on the specific codebase is important
kind/resolved-in-helia
P2
Medium: Good to have, but can wait until someone steps up
status/ready
Ready to be worked
I think we need a mechanism for
js-ipfs
components to prevent the process from exiting until they've finished a bit of critical work (could show aCTRL-C to force quit
kind of message).My concern is that if
mfs
is interrupted while writing the root hash to the level datastore, it'll potentially not be able to read the hash on the next startup which would show the user an empty directory.The text was updated successfully, but these errors were encountered: