Question 3
(a) Why is it difficult to obtain a consistent distributed snapshot in a distributed system? Use an example to support your argument.
(b) What are the conditions that need to be satisfied to make a global state consistent?
(c) Modify the Chandy-Lamport distributed snapshots algorithm so that all the channel states are recorded empty. You need to give a full description of the algorithm and explain why your algorithm can obtain a consistent distributed snapshot in terms of the discussion in
point (b).