知识卡片
继承最高编号接受值
提议者收到了用于第一阶段的法定人数响应,若其中有人带回已接受的值,就选择编号最大的那一个作为本轮提议。只有所有响应都无旧值时才自由选择。法定人数交集把旧决策的痕迹送到新轮次,保证更换领导者不会改变已选定结果。
参见 [[承诺屏蔽旧编号]]。
这张卡片看不懂?
这张卡片已通过人工审查,不再接受失败反馈。
已有反馈 · 0 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- Chapter 14. Consensus Paxos 提议与值继承 · 查看原书依据
During the replication phase, after collecting a majority of votes, the proposer can start the replication, where it commits the proposal by sending acceptors an Accept!(n, v) message with value v and proposal number n. v is the value associated with the highest-numbered proposal among the responses it
参考来源
- 位置:《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#idm46104529265720,段 82)
- 结论依据:原文第二阶段明确以第一阶段响应中的最高旧提议为输入,没有旧提议才提出自己的值。
- 原始内容:During the replication phase, after collecting a majority of votes, the proposer can start the replication, where it commits the proposal by sending acceptors an Accept!(n, v) message with value v and proposal number n. v is the value associated with the highest-numbered proposal among the responses it