Skip to content

Issues with losing connection during sync job. #1091

Answered by jader1313
jader1313 asked this question in Q&A
Discussion options

You must be logged in to vote

Use case

Client 1 makes some changes and then sync: Batch A (BA)
Client 1 send BA to Server
Server Applies BA and send back nothing (for keeping the sample easy to understand)
Timeout exception is occurring
Client 1 did not receive any confirmation and sync is aborted (at last not mark as complete)
Client 2 makes some changes and then sync : Batch B (BB) (and BB is updating same rows as BA)
Client 2 send BB to Server
Server Applies BB and send back nothing
Client 1 send BA to Server(connection to server reestablished)

Server Applies BA (overwriting BB) WRONG
Client 1 has batch BA (should end with BB) WRONG
Client 2 sync(receive BA) WRONG
Client 2 has batch BA(error) WRONG

Sorry, we were u…

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
0 replies
Comment options

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

@jader1313
Comment options

@Mimetis
Comment options

@jader1313
Comment options

Answer selected by jader1313
@Mimetis
Comment options

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