知识卡片
见证副本临时保存数据
见证副本正常只记写入发生,实体副本保存完整数据。实体副本暂时不可用时,见证可以临时持有写入记录。原副本恢复后通过修复补齐数据,再撤掉临时完整副本。读写仍使用多数且参加的法定人数至少包含一个实体副本。
这张卡片看不懂?
这张卡片已通过人工审查,不再接受失败反馈。
已有反馈 · 0 条
还没有人提交反馈。
在整书笔记中的位置
- · Quorums
原书出处 · 1 处
- Chapter 11. Replication and Consistency Quorums · 查看原书依据
In cases of write timeouts or copy replica failures, witness replicas can be upgraded to temporarily store the record in place of failed or timed-out copy replicas. As soon as the original copy replicas recover, upgraded replicas can revert
参考来源
- 位置:《Database Internals》Chapter 11. Replication and Consistency(book-source:extracted/Database Internals A deep-dive into how distributed data systems work (Alex Petrov)/_epub-src/OEBPS/ch11.html#idm46104530099384,段 201)
- 结论依据:原文用 [1c,2c,3w] 的三节点配置推演写入、读取和恢复,再给出两条必要规则。
- 原始内容:In cases of write timeouts or copy replica failures, witness replicas can be upgraded to temporarily store the record in place of failed or timed-out copy replicas. As soon as the original copy replicas recover, upgraded replicas can revert