Skip to content

Wrapping entire Sync in a single transaction #573

Answered by Mimetis
Tlocke1 asked this question in Q&A
Discussion options

You must be logged in to vote

Hello @Tlocke1

Basically, everything is transactional, even if we don't have one single transaction, since we have several participants in a sync.
We can count basically 4 transactions in the complete workflow. 2 on clients (reading then applying) and 2 on server (applying then reading)

2 transactions are basically just reading data. No data are modified / inserted/ deleted
2 transactions are for applying changes on server or client

Here is a simplified workflow, focusing only on the sync mechanism (I will not detail here everything around provisioning or dedicated methods):

  1. Client gets changes to send to server, in one transaction.
  2. Server applies client changes, and resolve any conflict…

Replies: 3 comments 5 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
5 replies
@Tlocke1
Comment options

@bibo4
Comment options

@Mimetis
Comment options

@Tlocke1
Comment options

@Mimetis
Comment options

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