by langarus · 3y ago · 0 comments
Is SQLite reverted to postgress and thus the changes lost?
If the server can automatically resolve an error or conflict, it would return a 2xx response and the client's state will be updated to match the server's authoritative state.
If the conflict/error cannot automatically be resolved, there are a few options:
- The server can return a 2xx response but record information about the conflict that allows a user to resolve it (e.g. prompt a user to manually resolve the conflict — either the end-user or administrator for example)
- The server can save details in a dead letter queue
More details are documented here:
https://docs.powersync.com/architecture/consistency
https://docs.powersync.com/usage/lifecycle-maintenance/handl...