yjs / y-indexeddb

IndexedDB database adapter for Yjs
https://docs.yjs.dev/ecosystem/database-provider/y-indexeddb
Other
196 stars 30 forks source link

Syncing problems #5

Closed dennislaupman closed 6 years ago

dennislaupman commented 6 years ago

Hello,

We've got some problems with resyncing the local indexDB storage with the server. When we turn off the network connection and after a few seconds reconnect, the client shows the local offline generated text, but don't (re)sync the data to the other clients.

Also after CMD + SHIFT + R the data shows in the reconnected client, so that part works well.

See our prototype files too see whats happening.

Thanks Dennis

y-test.zip

dmonad commented 6 years ago

Hi Dennis, I'm sorry to say that. But I don't have the time to fix this issue in the 12.x.x branch. I will update y-indexeddb to work with Yjs version 13 (still in beta).