4 ms·
Is there a way to hard delete old history in CRDTs? I’m thinking about legal and privacy requirements.
by pharmakom 4y ago
Is there a way to hard delete old history in CRDTs? I’m thinking about legal and privacy requirements.
- CGamesPlay 4y agoI know this is possible in Yjs: replace the key itself with a new instance of a text CRDT, and populate it with the latest value. Such a change will destroy any concurrent edits, however (concurrent changes will be overwritten by the new instance of the CRDT upon merge). A more complex solution is garbage collection, which depends on the internals of the CRDT. I don't think Yjs exposes this for specific edits in text fields. Automerge... the same approach would work but Automerge advertises itself as storing the full history, so I think the history of the root object would leak the data. I am not sure if it's possible to erase such history with Automerge.
- pharmakom 4y agoThis is a big problem! I like full history most of the time, but there are situations where hard delete is a... hard requirement.
- MzHN 4y agoThere is Antimatter https://braid.org/antimatter https://braid.org/antimatter