automerge / automerge-classic

A JSON-like data structure (a CRDT) that can be modified concurrently by different users, and merged again automatically.
http://automerge.org/
MIT License
14.75k stars 466 forks source link

failing sync test. bug? #361

Closed dan-weaver closed 3 years ago

dan-weaver commented 3 years ago

I'm not sure what I have here is a bug or not, but I came across this.

If one peer completely crashes and starts out with a completely fresh document and the other peers still has it's sync state cached (presumably), it seems like they will fail to sync. But maybe this is not something that should be handled in the library?

dan-weaver commented 3 years ago

Closing because there’s something wrong in my test will fix