知识卡片
共识要一致有效并终止
共识要求各个正确进程选择同一个值,选中的值是某个进程实际提议的,且正确进程最终作出决定。总是选固定常量可以一致但可能无效;永远等待可以不出错但没有活性。完全异步且允许崩溃的系统不能无条件保证确定性协议进展。
这张卡片看不懂?
这张卡片已通过人工审查,不再接受失败反馈。
已有反馈 · 0 条
还没有人提交反馈。
在整书笔记中的位置
- · 共识条件与活性
原书出处 · 1 处
- Chapter 14. Consensus 共识条件与活性 · 查看原书依据
Processes have to agree on some value proposed by one of the participants, even if some of them happen to crash. A process is said to be correct if hasn’t crashed and continues executing algorithm steps. Consensus is extremely useful for putting events in a particular order, and
参考来源
- 位置:《Database Internals》Chapter 14. Consensus(book-source:extracted/Database Internals A deep-dive into how distributed data systems work (Alex Petrov)/_epub-src/OEBPS/ch14.html#consensus,段 5)
- 结论依据:本章先联系 FLP 与故障检测,再分别解释 agreement、validity 和 termination。
- 原始内容:Processes have to agree on some value proposed by one of the participants, even if some of them happen to crash. A process is said to be correct if hasn’t crashed and continues executing algorithm steps. Consensus is extremely useful for putting events in a particular order, and