知识卡片

普通读书笔记卡 · 10294.a.4.a.2.d.1.a · 生成模型:未记录

原子提交允许单点否决

理解等级:中级

跨分区原子提交先给定要执行的事务,各参与者只能投票接受或拒绝。某分片无法完成该部分操作时整笔不能提交。它和第 14 章的共识问题不同:共识允许从多个提议中选一个值,这里的提议已经给定,要求参与者对能否执行它达成同一结果。

这张卡片看不懂?

已有反馈 · 0 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    参考来源

    - 位置:《Database Internals》Chapter 13. Distributed Transactions(book-source:extracted/Database Internals A deep-dive into how distributed data systems work (Alex Petrov)/_epub-src/OEBPS/ch13.html#idm46104529693288,段 11) - 结论依据:原文明确任一参与者反对就不能提交,并限定所有参与者只能对给定事务投票。 - 原始内容:To make multiple operations appear atomic, especially if some of them are remote, we need to use a class of algorithms called atomic commitment. Atomic commitment doesn’t allow disagreements between the participants: a transaction will not commit if even one of the participants votes against it. At the