• What happens if there is a network connection failure during two-phase commit processing?

    如果在两阶段提交处理过程中出现网络连接故障,会发生什么情况?

    youdao

  • Desired behavior: If the failure occurs before commit processing is complete, then the transaction goes in doubt.

    期望的行为:如果故障出现在提交进程完成之前,那么事务的行为将无法确定。

    youdao

  • The resource manager fails between prepare and commit processing, and the transaction manager detects the failure.

    在准备和提交进程期间,资源管理器出现故障,事务管理器检测到错误。

    youdao

  • Should the transaction manager fail during the commit processing, the transaction may be left in-doubt in the resource managers.

    如果在提交过程中事务管理器失败,则事务可能在资源管理器中处于未确定状态。

    youdao

  • Thus, if there is any failure while the transaction is in-flight (that is, before commit processing is initiated), then all updates will be rolled back.

    这样,如果在事务处于处理状态时(即,在启动提交进程之前)发生任何故障,那么所有更新将回滚。

    youdao

  • However, the XA protocol does provide some additional integrity to this one-phase commit scenario in its provision of resynchronization and recovery logic for failure during commit processing.

    不过,XA协议在提交进程失败时可以提供再同步和恢复逻辑,在这一点上确实比此单阶段提交场景多提供一些附加的完整性。

    youdao

  • However, the XA protocol does provide some additional integrity to this one-phase commit scenario in its provision of resynchronization and recovery logic for failure during commit processing.

    不过,XA协议在提交进程失败时可以提供再同步和恢复逻辑,在这一点上确实比此单阶段提交场景多提供一些附加的完整性。

    youdao

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定