知识卡片
承诺屏蔽旧编号
接受者响应编号 n 的 Prepare 后,承诺不再接受更低编号的提议。它还带回自己最近接受的编号和值。更高编号的 Prepare 可以更新承诺,因而迟到的旧领导消息会失败。承诺的目标是约束后续接受;收到 Prepare 只表示进入第一阶段。
参见 [[Paxos三种角色]]。
这张卡片看不懂?
这张卡片已通过人工审查,不再接受失败反馈。
已有反馈 · 0 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- Chapter 14. Consensus Paxos 提议与值继承 · 查看原书依据
If this acceptor hasn’t responded to a prepare request with a higher sequence number yet, it promises that it will not accept any proposal with a lower sequence number.
参考来源
- 位置:《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,段 78)
- 结论依据:第一阶段明确要求接受者持有单调承诺,同时报告已经接受的历史。
- 原始内容:If this acceptor hasn’t responded to a prepare request with a higher sequence number yet, it promises that it will not accept any proposal with a lower sequence number.