它需要一个协议,如两阶段提交协议(two-phase commit protocol),以确保两个或更多的数据库协作以维持ACID特性。
基于32个网页-相关网页
两阶段提交协议 two-phase commit protocol ; Two-phase commit
改进的两阶段提交协议 Improved two-phase commit protocol
但是“两阶段提交协议简介”小节中提到仍然存在一个问题,那就是如果第2阶段中一个事务分支发生故障,该怎么办呢?
But there is still an open question mentioned in the section "Introduction into the Two-Phase-Commit protocol". What to do, if "Phase 2" failed for a transaction branch?
但是“两阶段提交协议简介”小节中提到仍然存在一个问题,那就是如果第2阶段中一个事务分支发生故障,该怎么办呢?
But there is still an open question mentioned in the section "Introduction into the Two-Phase - Commit protocol". What to do, if "Phase 2" failed for a transaction branch?
两段提交(two - phase commit 2pc)协议本来就是一种阻塞型的协议,它的伸缩性不好,会导致延迟、复杂性和失败概率的提高。
The two-phase commit (2pc) protocol is an inherently blocking protocol that does not scale well increasing latency, complexity and failure rate.
应用推荐