知识卡片
不完整写可使多数读倒退
写入只落到一个副本就失败时,第一次多数读取可能包含该节点而返回新值,下一次多数读取可能刚好避开它,又得到旧值。读写多数相交保护完成的多数写,若要约束已被看见的不完整写,需要先把新值修复到足够多副本再返回。
这张卡片看不懂?
这张卡片已通过人工审查,不再接受失败反馈。
已有反馈 · 0 条
还没有人提交反馈。
在整书笔记中的位置
- · Quorums
原书出处 · 1 处
- Chapter 11. Replication and Consistency Quorums · 查看原书依据
Reading and writing using quorums does not guarantee monotonicity in cases of incomplete writes. If some write operation has failed after writing a value to one replica out of three, depending on the contacted replicas, a quorum read can
参考来源
- 位置:《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#quorums,段 197)
- 结论依据:原文直接说明不完整写和两次读用不同多数集合造成交替,并指向阻塞读修复。
- 原始内容:Reading and writing using quorums does not guarantee monotonicity in cases of incomplete writes. If some write operation has failed after writing a value to one replica out of three, depending on the contacted replicas, a quorum read can