知识卡片
匹配摘要证明检查点
PBFT 定期为状态和已执行序号生成检查点。收集 2f+1 份一致确认后形成稳定凭证,副本可回收该位置之前的协议记录;需要恢复的节点可核对状态摘要与该凭证。只从一个副本拿到一个看似完整的快照,证据仍不足。
参见 [[拜占庭法定集约束交集]]。
参见 [[快照对应日志截断点]]。
这张卡片看不懂?
这张卡片已通过人工审查,不再接受失败反馈。
已有反馈 · 0 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- Chapter 14. Consensus 检查点比对恢复状态 · 查看原书依据
After every N requests, where N is a configurable constant, the primary makes a stable checkpoint, where it broadcasts the latest sequence number of the latest request whose execution is reflected in the state, and the digest of this state. It then waits for 2f + 1 replicas
参考来源
- 位置:《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#idm46104528870424,段 281)
- 结论依据:原文将检查点序号与状态摘要绑定,并用 2f+1 一致确认作为安全回收记录的依据。
- 原始内容:After every N requests, where N is a configurable constant, the primary makes a stable checkpoint, where it broadcasts the latest sequence number of the latest request whose execution is reflected in the state, and the digest of this state. It then waits for 2f + 1 replicas