知识卡片
网络分区可能制造双活
分区把节点分成互不可达的集合,两边都可能把对方误认为已死并继续接受请求,形成不一致;恢复连接还要面对如何合并状态。主备自动提升时尤其不能仅凭对端超时推断它已停止写。书中以金融事故作警示,但具体事故归因未在本轮外部核验,本卡保留的是分区与双活的通用失败机制。
这种风险可用[[仲裁与独占锁限制双活]]限制,但裁决本身也引入前提和依赖。
这张卡片看不懂?
这张卡片已通过人工审查,不再接受失败反馈。
已有反馈 · 0 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- 构建稳定系统 · 查看原书依据
A network partition breaks the network into two fully disconnected partitions, and when this happens, each partition thinks that nodes in the other partitions are dead. Both partitions can proceed to serve user requests, putting the system in an inconsistent state.
参考来源
- 位置:《Software Architecture and Decision-Making》第12章《Building Stable Systems》(来源项目:book-sources;源文件:extracted/Software Architecture and Decision-Making Leveraging Leadership, Technology, and Product Management to Build Great Products… (Srinath Perera)/_epub-src/ch12.xhtml)
- 结论依据:摘录说明分区把节点分成互不可达的集合,两边都可能把对方误认为已死并继续接受请求,形成不一致;恢复连接还要面对如何合并状态。其余条件结合本章相邻例子与取舍说明,数字示例不作当前性能承诺。
- 原始内容:A network partition breaks the network into two fully disconnected partitions, and when this happens, each partition thinks that nodes in the other partitions are dead. Both partitions can proceed to serve user requests, putting the system in an inconsistent state.