You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We used to have 409 responses when the client was not in sync with the server state. But with yjs we can now always apply updates as long as they belong to the same session. Still some users are reporting changes being lost while editing with > 10 people in text. 409 Responses are showing in their logs.
Sync requests
Sync requests can trigger 409 responses if the underlying files etag and mtime differ from the document records values.
This will happen if a file is saved through a different mechanism such as desktop client sync or restoring an old version.
Client side handling
The client will see 409 responses to sync requests and process them as normal responses. This is important so the sync mechnism continues working even if there has been a different update to the file.
The 409 will 'only' cause the editor to display the conflict screen with both options to pick from.
One problem with the current approach is that every sync request that responds with a 409 will include the complete local file. As the sync continues even on conflicts that is actually quite a bit of overhead.
Could they cause removal of content added by the client or another client?
Currently I don't see how.
Save requests
✅ TODO
look into save requests
create follow up issue
The text was updated successfully, but these errors were encountered:
We used to have 409 responses when the client was not in sync with the server state. But with yjs we can now always apply updates as long as they belong to the same session. Still some users are reporting changes being lost while editing with > 10 people in text. 409 Responses are showing in their logs.
Sync requests
Sync requests can trigger 409 responses if the underlying files etag and mtime differ from the document records values.
This will happen if a file is saved through a different mechanism such as desktop client sync or restoring an old version.
Client side handling
The client will see 409 responses to
sync
requests and process them as normal responses. This is important so the sync mechnism continues working even if there has been a different update to the file.The 409 will 'only' cause the editor to display the conflict screen with both options to pick from.
One problem with the current approach is that every sync request that responds with a 409 will include the complete local file. As the sync continues even on conflicts that is actually quite a bit of overhead.
Could they cause removal of content added by the client or another client?
Currently I don't see how.
Save requests
✅ TODO
The text was updated successfully, but these errors were encountered: