Guest User

Untitled

a guest
Jun 20th, 2018
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.70 KB | None | 0 0
  1. 1. Consider write request goes to node N1 to update record R1. Say name `scott` updated to `scott_update1`
  2. 2. Before it is replicated to N1, N1 crashed
  3. 3. Another write request goes to node N2 to update the same record R1. Now `scott` updated to `scott_update2`
  4. 4. Now when N1 comes back, will the name `scott_update1` be updated to `scott_update2` ?
  5.  
  6. 1. Consider write request goes to node N1 to update record R1. Say name `scott` updated to `scott_update1`
  7. 2. Before it is replicated to N1, N1 crashed
  8. 3 . Read request goes to node N2 to read the same record R1. It returns `scott`
  9. 3. Now when N1 comes back, will the name `scott_update1` be updated to `scott` or it will stay `scott_update1` ?
Add Comment
Please, Sign In to add comment