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