In the Chandy–Lamport algorithm, a process starts a snapshot by recording its own state and sending a special message, a marker, on each of its outgoing channels. When a process receives a marker on a channel: if it has not yet recorded its state, it records it, records the channel the marker came on as empty, sends a marker on each outgoing channel, and starts recording every other incoming channel; if it had already recorded its state, it stops recording that channel, whose state is the messages it received on it since it recorded its own state. The snapshot is complete when every process has received a marker on every incoming channel.
Computer Science · المسرد
ما معنى Chandy–Lamport algorithm؟
يُعرف أيضًا باسم: Chandy--Lamport algorithm