知识卡片
Paxos只需跨阶段相交
只要任一准备法定集合和任一接受法定集合相交,新轮次就不会错过旧选定值。按固定集合大小计算时满足 Q₁ + Q₂ > N 即可。五节点可设准备四票、接受两票。活跃领导更容易提交,换主却更容易因不够四台而等待。
参见 [[多数派交集保留决定]]。
这张卡片看不懂?
这张卡片已通过人工审查,不再接受失败反馈。
已有反馈 · 0 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- Chapter 14. Consensus Flexible Paxos 的跨阶段交集 · 查看原书依据
In other words, a quorum doesn’t have to be defined as a majority, but only as a non-empty group of nodes. If we define a total number of participants as N, the number of nodes required for a propose phase to succeed as Q₁, and the number of
参考来源
- 位置:《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#flexible_paxos,段 172)
- 结论依据:原文以跨阶段交集和 5 节点 4/2 的例子说明复制延迟和选主可用性的权衡。
- 原始内容:In other words, a quorum doesn’t have to be defined as a majority, but only as a non-empty group of nodes. If we define a total number of participants as N, the number of nodes required for a propose phase to succeed as Q₁, and the number of