by fireflash38 · 2mo ago · 0 comments
If you can't write to the filesystem, almost everything you do in an embedded system will fail. So you can't undo a partial write. Your logging will probably fail too.
A relatively big database (a tier 2/3 database) that I was using handled this in a really bad manner: it'd just segfault. Depending on when this happened you could get data corruption and never be able to open the DB even in read-only mode.
It's one of the core principles of a database! And it didn't even do that correctly.
No comments yet.