知识卡片
支付确认超时结果未知
扣款已成功但确认响应被网络故障阻断时,调用方看到超时,却不能据此判定未扣款。直接创建新支付重试可能再次收费。根因是远程执行结果与本地观察分离。参见[[幂等支付复用原结果]]。
这张卡片看不懂?
这张卡片已通过人工审查,不再接受失败反馈。
已有反馈 · 0 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- Building Resilient Systems · 查看原书依据
Consider a scenario in our e-commerce platform where a customer places an order. The payment service successfully charges the customer's card, but before confirming the order, a network partition occurs.
参考来源
- 位置:《Building Distributed Systems Designing scalable architectures with microservices, event-driven patterns, and robust deployment…》第08章《Building Resilient Systems》(来源项目book-sources;源文件:extracted/Building Distributed Systems Designing scalable architectures with microservices, event-driven patterns, and robust deployment…/_epub-src/OPS/ch08.xhtml)
- 结论依据:原文的机制或对比支持以下核心判断:扣款已成功但确认响应被网络故障阻断时,调用方看到超时,却不能据此判定未扣款。 本卡将相邻说明中的适用限制保留为解释。
- 原始内容:Consider a scenario in our e-commerce platform where a customer places an order. The payment service successfully charges the customer's card, but before confirming the order, a network partition occurs.