知识卡片

延伸参考卡 · 10406.c.1.a.1 · 生成模型:未记录

ZAB先同步旧历史

理解等级:中级

ZAB 先识别旧 epoch 并提出更高 epoch,接着由新领导让副本确认该视图并补齐此前已建立的历史。同步完成后,新写入由领导排序,收到法定人数确认才提交。失联后可凭已确定的全序和最新历史缩小恢复范围。

参见 [[全序广播统一交付顺序]]。

这张卡片看不懂?

已有反馈 · 0 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • Chapter 14. Consensus ZAB 的三步恢复 · 查看原书依据

      This phase is used to recover from the previous leader’s failure and bring lagging followers up to speed. The prospective leader sends a message to the followers proposing itself as a leader for the new epoch and collects their acknowledgments. As soon as acknowledgments are received, the leader

    参考来源

    - 位置:《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#zab,段 50) - 结论依据:原文的 discovery、synchronization 和 broadcast 三段要求在交付新 epoch 内容前恢复旧历史。 - 原始内容:This phase is used to recover from the previous leader’s failure and bring lagging followers up to speed. The prospective leader sends a message to the followers proposing itself as a leader for the new epoch and collects their acknowledgments. As soon as acknowledgments are received, the leader