by v-erne · 4y ago · 0 comments
It may seem so, bu then You find out what are Your governments limit's for storing workers data, and Your company lawyers forces You to make it possible to delete everything that past that limit to limit legal risk and be gdpr compliant. And at this moment You find out that world is not constant and far from Your ideal model of spherical cow.
Yes, I know this isn’t strictly “append only”, but it still gives the ability to prevent silent updates and silent deletes. Any record that’s deleted must be replaced with something that indicates that it was deleted.
If you know you can trust all your peers to act in good faith, then you might as well just use a regular database as none of your peers will edit old records due to being good actors.
There's a chain for sure, but nothing that allows it to be decentralized, or 100% immutable, etc.
Deleting a document revision in QLDB does not actually delete it, but rather moves the last known revision into a shadow history table that accompanies every table in QLDB. The full document change history lookup has to accommodate in the code path a fallback to the history table when a document revision can't be located in the main data entity table. If no document revision exists in either table, it has never existed in the database.
Bonus: use a committing AEAD mode and use the previous record as AEAD when writing the record.
You can keep the ciphertext in the ledger forever. Zeroing out the wrapped key makes it unretrievable.
Add english oddities such as capitalizing first person pronoun (which I do, as you probably noticed) and it's kinda easy to be oblivious that I do this.