What is Nostr?
LisPi /
npub1cu4…mcxv
2025-02-12 07:58:03
in reply to nevent1q…0e0p

LisPi on Nostr: nprofile1q…utslx akko Normal Mikoto :kagami_shrug: :gekota: ...

nprofile1qy2hwumn8ghj7un9d3shjtnddaehgu3wwp6kyqpq0cq07ulfyc7y2l8rczk9s36g8j65tq3m6xk9us8hr3ua4ktfmaqqeutslx (nprofile…tslx) akko (nprofile…wssg) Normal Mikoto :kagami_shrug: :gekota: (nprofile…nc0q) https://en.wikipedia.org/wiki/Ext3#Journaling_levels

In-place modification and a crash can lead to data corruption with only metadata journaling. Full data journaling will prevent that.

The modification is only committed once journaling it is done, so if there is a crash in the meantime, that isn't a problem.

This does *not* protect against the program sending multiple writes to update file state instead of a single large one and a crash occuring in-between though. But neither does btrfs protect against that sort of consistency issue.

To protect against that, proper transactionality as offered by LMBD or SQLite is required.
Author Public Key
npub1cu4r6pt94plck34vtw9t3zj974k0vl0z8x9gew5vdp2ukw3ekr4qy2mcxv