← 返回刚才阅读的位置

知识卡片

普通读书笔记卡 · 2285.l.17

跨服务事务暴露中间态

理解等级:高级

同一数据库连接中的ACID事务可以一起回滚CRM和计费写入;跨服务各自提交后,另一系统失败无法撤销已提交记录。长运行等待也不能一直占着数据库事务。因此业务事务必须接受中间状态对外可见,分析这些状态会否误触营销等行为,并为最终收敛安排责任。

这张卡片看不懂?

已有反馈 · 0 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • 工作流引擎与集成挑战 · 查看原书依据

      Therefore, it might happen that a customer exists in the CRM system, even if they have not yet been created in the billing system. This violates the ACID property of isolation, as some outside thread (or human) may be able to see this state already. Furthermore, you have to think about what to do when

    参考来源

    - 位置:《Practical Process Automation》第9章《工作流引擎与集成挑战》(来源项目:book-sources;源文件:extracted/Practical Process Automation (Bernd Ruecker)/_epub-src/OEBPS/ch09.xhtml) - 结论依据:原文给出的机制、实例与边界支持本卡的解释。 - 原始内容:Therefore, it might happen that a customer exists in the CRM system, even if they have not yet been created in the billing system. This violates the ACID property of isolation, as some outside thread (or human) may be able to see this state already. Furthermore, you have to think about what to do when