Advertisement
Guest User

Untitled

a guest
Dec 7th, 2016
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.14 KB | None | 0 0
  1. Probably no synchro
  2. Focus on project 3, project 2, everything else
  3. Raft questions
  4. Maybe something on project 2- stack, virtual memory, syscalls
  5.  
  6.  
  7. 3 servers with correct implementations
  8. S1 is leader in term 3
  9. S2 and S3 are followers in term 3
  10. All logs have identical entries
  11. Servers can append new client actions (not like P3)
  12.  
  13. Describe in 10 events or fewer a situation in which a server is in candidate mode receives a non-entry appendEntries RPC from a server, S', whose term is greater than or equal to S's, i.e., term of S' as leader >= term of S as candidate
  14. Events include: new updates, mode changes, failures/recovery, slow/failing network, paused server, machine can get slow/fail
  15.  
  16. 1. S1 crashes (term 3)
  17. (S2 goes into candidate mode)
  18. 2. S2 elected leader (term 4)<---increment term on election
  19. 3. S2 receives new update (term 4)
  20. 4. S1 recovers w/o network (term 3)-cant be updated
  21. 5. S1 becomes candidate (term 4)- bc crashed servers always come back as followers
  22. 6. S1 network heals (term 4)
  23. 7. S2 forwards update to S1 (term 4) appendEntries
  24.  
  25. When server is paused it cannot receive messages/appendEntries requests
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement