What happens if there is a network connection failure during two-phase commit processing?
如果在两阶段提交处理过程中出现网络连接故障,会发生什么情况?
Desired behavior: If the failure occurs before commit processing is complete, then the transaction goes in doubt.
期望的行为:如果故障出现在提交进程完成之前,那么事务的行为将无法确定。
The resource manager fails between prepare and commit processing, and the transaction manager detects the failure.
在准备和提交进程期间,资源管理器出现故障,事务管理器检测到错误。
应用推荐