知识卡片
预选候补缩短故障切换
领导者提前通告候补列表。有人发现领导者失效时,先联系名单里最高排名的候补。其确认存活后就可发布新身份,其他候补无需继续联络。若探知故障的进程正是最优候补,它可以直接宣布结果。
这张卡片看不懂?
这张卡片已通过人工审查,不再接受失败反馈。
已有反馈 · 0 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- Chapter 10. Leader Election Next-In-Line Failover · 查看原书依据
Each elected leader provides a list of failover nodes. When one of the processes detects a leader failure, it starts a new election round by sending a message to the highest-ranked alternative from the list provided by the failed
参考来源
- 位置:《Database Internals》Chapter 10. Leader Election(book-source:extracted/Database Internals A deep-dive into how distributed data systems work (Alex Petrov)/_epub-src/OEBPS/ch10.html#idm46104530604872,段 30)
- 结论依据:原文描述候补 {5,4} 中先联系 5 的示例与减少步骤的条件。
- 原始内容:Each elected leader provides a list of failover nodes. When one of the processes detects a leader failure, it starts a new election round by sending a message to the highest-ranked alternative from the list provided by the failed