知识卡片
Raft提交有任期条件
Raft领导者可按多数副本计数直接提交当前任期日志;旧任期条目不能仅靠多数复制判定提交,而随当前任期条目提交间接提交。多数包含领导者自身。核验Raft扩展论文§5.4.2,纠正原书“多数跟随者确认即提交”的省略:https://raft.github.io/raft.pdf(2026-10-23)。
这张卡片看不懂?
这张卡片已通过人工审查,不再接受失败反馈。
已有反馈 · 0 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- Consistency and Availability · 查看原书依据
Log replication: Once a leader is elected, it starts accepting client requests and appending them to its log. The leader then replicates the log entries to the follower nodes. Each follower appends the entries to its own log and sends an acknowledgment back to the leader.
参考来源
- 位置:《Building Distributed Systems Designing scalable architectures with microservices, event-driven patterns, and robust deployment…》第04章《Consistency and Availability》(来源项目book-sources;源文件:extracted/Building Distributed Systems Designing scalable architectures with microservices, event-driven patterns, and robust deployment…/_epub-src/OPS/ch04.xhtml)
- 结论依据:原文给出本卡对应定义或示例;Raft领导者可按多数副本计数直接提交当前任期日志;旧任期条目不能仅靠多数复制判定提交,而随当前任期条目提交间接提交。 对原文省略和过度承诺的限定是本卡显式纠正,不能反过来当作原书已证明。
- 原始内容:Log replication: Once a leader is elected, it starts accepting client requests and appending them to its log. The leader then replicates the log entries to the follower nodes. Each follower appends the entries to its own log and sends an acknowledgment back to the leader.