admin管理员组文章数量:1287561
In Lamport's Distributed Mutual Exclusion algorithm, a process can enter the critical section if two conditions are met:
- Its request is at the head of its own queue.
- It has received a reply from all other processes, and the timestamp of each reply is greater than its own request's timestamp.
I don't understand why the second condition is necessary. In my opinion, it should be sufficient for a process to simply receive a reply from all other processes without needing the timestamp of the reply to be greater than the request's timestamp. Is there a situation where the reply's timestamp matters, and if so, could someone give me one example and explain the reasoning behind it?
本文标签:
版权声明:本文标题:consensus - Why does Lamport's Distributed Mutual Exclusion Algorithm require the reply's timestamp to be greate 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1741286450a2370296.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论