Skip to content

Instantly share code, notes, and snippets.

@rla
Created January 27, 2012 18:17
Show Gist options
  • Save rla/1690124 to your computer and use it in GitHub Desktop.
Save rla/1690124 to your computer and use it in GitHub Desktop.
Sync log
Client 1 data before 1st sync
Revision: 0
Data:
1: d1-1.0
2: d2-2.0
Changes:
r0 1
r0 2
Client 1 data after 1st sync
Revision: 1
Data:
1: d1-1.0
2: d2-2.0
Changes:
Server data after 1st sync
Revision: 1
Data:
1: d1-1.0
2: d2-2.0
Changes:
r1 1
r1 2
Client 2 data after 2nd sync
Revision: 2
Data:
1: d1-1.0
2: d2-2.0
Changes:
Client 2 data before 3rd sync
Revision: 2
Data:
2: d2-2.0
3: d3-1.0
Changes:
r2 1
r2 3
Client 2 data after 3rd sync
Revision: 3
Data:
2: d2-2.0
3: d3-1.0
Changes:
Server data after 3rd sync
Revision: 3
Data:
2: d2-2.0
3: d3-1.0
Changes:
r1 1
r1 2
r3 1
r3 3
Client 1 data after 4th sync
Revision: 4
Data:
2: d2-2.0
3: d3-1.0
Changes:
Client 3 data after 5th sync
Revision: 5
Data:
2: d2-2.0
3: d3-1.0
Changes:
Server data after 5th sync
Revision: 5
Data:
2: d2-2.0
3: d3-1.0
Changes:
r1 1
r1 2
r3 1
r3 3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment