Chandy–Lamport algorithm: Difference between revisions

Content deleted Content added
Modster (talk | contribs)
Fuhghettaboutit (talk | contribs)
m propogate--->propagate
Line 21:
# A process receiving the snapshot token *for the first time* on *any* message:
## Sends the observor process its own saved state
## Attaches the snapshot token to all subsequent messages (to help propogatepropagate the snapshot token)
# Should a process that has already received the snapshot token receive a message that does not bear the snapshot token, this process will forward that message to the observor process. This message was obviously sent before the snapshot "cut off" (as it does not bear a snapshot token and thus must have come from before the snapshot token was sent out) and needs to be included in the snapshot.