For the run of the Chandy-Lamport algorithm, consider all messages such that both i...
Check the final answer first, then review the worked steps.
Check the final answer first, then review the worked steps.
Messages where both send and receive events are captured in the snapshot are considered. If a message's send event is recorded but its receive event is not, or vice versa, it is not counted. In a consistent snapshot, all messages that have been received must have been sent. Therefore, the number of such messages is the count of messages that have been received by a process included in the snapshot.