Open copyfactory opened 6 months ago
I'm not aware of a way to restore the corrupted data. The binary data is intentionally opaque to the Django app.
Here are some thoughts:
yrs
that is used is relatively young and has some known bugs in the block implementation (e.g. https://github.com/y-crdt/y-crdt/pull/266)repair
function that is called under some condition when integrating an update. I don't know the how the block implementation in yrs
works though.
Thank you for this package, definitely helped me get TipTap/YJS working with my Django app.
I seemed to have come across an error where it seems as though a corrupted document state is being persisted causing both the loading of the document to not work as well as the yroom worker to crash.
Below is the relevant stacktrace:
I don't believe there is a way to recover corrupted documents from the saved bytes data?
The only relevant link I found was: https://github.com/y-crdt/ypy/issues/101
Which seems to be referencing a much older version of packages and was from a few years back?
Any ideas that you may have would be appreciated!
Thank you