2-phase commit 两阶段提交
Phase 2, commit: If all of the resources are ready, they all commit — after which the old data is deleted and the transaction can no longer roll back.
第2阶段,提交:如果所有的资源都准备就绪,则全部进行提交——在旧数据删除且事务不再回滚之后进行。
In phase 2 (commit phase), WebSphere transaction manager skips the communication with this resource manager, and it will not disk force or log any activities related to this resource manager.
在阶段2(提交阶段)中,WebSphere事务管理程序略过与资源管理程序的通信,并且它并不冒险强制或记录任何与这个资源管理程序相关的活动。
If phase zero succeeds, the coordinator starts the 2-phase-commit cycle.
如果阶段0成功,协调器将开始两阶段提交循环。
应用推荐