知识卡片
全局视角必须一致
内容
在顺序一致系统中,不同进程对多个写操作的观察顺序不能互相矛盾;所有人都应能解释为同一个全局顺序。发散:这正是协调服务能做锁和队列的基础。
参考来源
- 位置:《分布式系统与一致性》第14章《顺序一致性》原子性一节引用的另一种描述(源文件:_epub-src/OEBPS/Text/chapter18.xhtml)
- 结论依据:原文引用"Under sequential consistency,all operations appear to have executed atomically in some order that is consistent with the order seen at individual nodes and that is equal at all nodes."并译为"在顺序一致性的条件下,所有操作好像都是原子操作,并且单个节点看到的顺序与所有节点看到的顺序是相同的",即不同节点对操作顺序的观察必须彼此一致,可解释为同一个全局顺序。
- 原始内容:Under sequential consistency,all operations appear to have executed atomically in some order that is consistent with the order seen at individual nodes and that is equal at all nodes.(在顺序一致性的条件下,所有操作好像都是原子操作,并且单个节点看到的顺序与所有节点看到的顺序是相同的。)