Skip to content
Discussion options

You must be logged in to vote

For the most part, we can split uploading client-side changes from downloading server-side state:

  1. For uploading changes, the client keeps a local queue of all changes (PUT/PATCH/DELETE operations). While this is not directly affected by the server rebuild, there may be conflicts from attempting to apply the client-side changes on an older server-side state. You are in full control of the upload process - check your logic in your PowerSyncBackendConnector, and make sure it can handle conflicts. The best strategy here depends on your use case - for example you can just discard conflicting changes (which reverts them), or save the conflicting changes to a separate table for manual review. F…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@ogak-github
Comment options

Answer selected by simolus3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #358 on December 08, 2025 10:41.