知识卡片
正票后失联会阻塞
参与者一旦投下正票,协调者就可能收齐票并通知另一分片提交。此时该参与者即使因超时收不到决定,也不能自行取消。能从协调者备份或其他参与者的持久日志查到最终决定即可恢复,否则要等待有权恢复决定的协调机制。协调者在投票阶段尚缺票时仍可取消。
参见 [[两阶段提交全员同意]]。
这张卡片看不懂?
这张卡片已通过人工审查,不再接受失败反馈。
已有反馈 · 0 条
还没有人提交反馈。
在整书笔记中的位置
- · 投票后失联
原书出处 · 1 处
- Chapter 13. Distributed Transactions 投票后失联 · 查看原书依据
During the first phase, the coordinator collects votes and, subsequently, promises from cohorts, that they will wait for its explicit commit or abort command. If the coordinator fails after collecting the votes, but before broadcasting vote results, the cohorts end up in a state of uncertainty. This is
参考来源
- 位置:《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#idm46104529630632,段 45)
- 结论依据:第 13 章对比投票超时可取消与发出正票后无法判断协调者是否已告知其他参与者。
- 原始内容:During the first phase, the coordinator collects votes and, subsequently, promises from cohorts, that they will wait for its explicit commit or abort command. If the coordinator fails after collecting the votes, but before broadcasting vote results, the cohorts end up in a state of uncertainty. This is