最常见的提交协议是两阶段提交协议。
The most common commit protocol is the two-phase commit protocol. As it is named, the two-phase commit protocol involves two phases.
人们常把原子事务看作是提供了一种两阶段提交协议。
Atomic transactions are often referred to as providing a two-phase commitment protocol.
是否存在单阶段提交协议比两阶段提交协议更有好处的情况?
Are there any circumstances when a one-phase commit protocol provides benefits over a two-phase commit protocol?
在第一种情况下,TCS可以使用两阶段提交协议10来管理事务步骤。
In the first case, the TCS can use the two-phase commit protocol 10 to manage the transaction steps.
分析实现强一致性的两阶段提交协议和实现弱一致性的数据复制技术。
The strong consistency is carried out by the protocols of submission with two phases. And the weak consistency is carried out by using the techniques of data replication.
重点讨论了分布式事务的管理目标、性质、两阶段提交协议、并发控制。
This paper puts emphasis on presenting a framework for distributed transaction:management goals, properties, two phase commit protocol and concurrency control.
Local(默认):当组件实现不能够遵循一个两阶段提交协议时,需要这一设置。
Local (default) : This setting is required when a component implementation is not capable of participating in a two-phase commit protocol. Things to note in a local transaction are.
正如“两阶段提交协议简介”小节中提到的,XA事务包含定义该事务的两个元素。
As mentioned in section "Introduction into the Two-Phase-Commit protocol" an XA transaction contains two elements which define the transaction.
当准备好提交事务时,两阶段提交协议将由调用方的WS - AT协调器进行驱动。
The two-phase commit protocol is driven by the caller's WS-AT coordinator when it is ready to commit the transaction.
xyzxadatasource类包含了用于启用两阶段提交协议的本地xa代码。
The xyzXADataSource classes contains the native XA code to enable the Two-Phase-Commit protocol.
DB是数据库节点,它负责接收应用程序的更新,因此它作为一个参与者来注册两阶段提交协议。
DB is the database node. It receives updates of the applications and therefore registers as a participant for the 2-phase-commit protocol.
WS -AtomicTransaction使用两阶段提交协议支持SOAP上的事务处理。
WS-AtomicTransaction supports transactions over SOAP with a distributed two-phase commit protocol.
在一个两阶段提交协议中,TCS首先轮询参与者,看是否它们准备好了,然后依次向每个参与者发布提交。
In a two-phase commit protocol, the TCS first polls the participants to see if they are ready, and then issues the commit to each in turn.
事务处理(Transactionhandling)接口负责管理跨支持两阶段提交协议的各种后端的分布式事务。
Transaction handling interfaces deal with managing distributed transactions across various back ends that support a two-phase commit protocol.
prepare方法引起数据库调用两阶段提交协议(Two-Phase-Commit)的“第 1 阶段”。
The prepare method causes the database to invoke "Phase 1" of the 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?
机群文件系统DCFS2采用分布式日志技术和改进的两阶段提交协议解决了分布式元数据处理下元数据的一致性问题。
Moreover, DCFS2 solved the metadata consistency problem for distributed metadata processing through a distributed logging technology and a simplified 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?
它利用两阶段提交协议来保证全部或全不(All - or - Nothing)语义,即要么所有的资源都永久的提交变更,要么在更新(回滚)之前一个都不提交。
It USES the two-phase commit protocol to guarantee the All-or-Nothing semantics that either all the resources commit the change permanently or none of them precede the update (rollback).
有一个好消息就是WebSphereMQ支持xa规范和两阶段提交协议,并且它在处理全局事务时与WebSphere ApplicationServer可以很好的协调。
The good news is that WebSphere MQ does support the XA specification and two-phase commit protocol, and it perfectly coordinates with WebSphere Application Server when handling global transactions.
Coordinator是一个WS - transaction协调节点,它提供如下协调服务:完成协议、阶段0协议、两阶段提交协议、c - c、c -pz、和c - 2pc。
Coordinator is the WS-transaction coordinator node. It exposes the coordinator services of the completion, phase zero and 2-phase-commit protocols, C-c, C-pz, and C-2pc.
两阶段提交由所有事务协议实现,并且基本概念在本质上是相同的。
The two-phase commit is implemented by all transactional protocols and the fundamental concepts are essentially the same.
数据库使用的保持数据(如waldo的余额)相等的协议被称为两阶段提交,或简称为2pc。
The protocol the databases use to keep data (such as Waldo's balances) coordinated is called two phase commit, or simply 2pc.
当应用程序调用commit时,事务管理器用一个两阶段的提交协议结束事务。
When the application invokes commit , the transaction manager USES a two-phase commit protocol to end the transaction.
在这些可能的选项之外,唯一支持eci流程的两阶段提交事务协调的协议是ExternalCICSInterface (EXCI)。
Out of these possible options, the only protocol that supports two-phase commit transactional coordination for ECI flows is the External CICS Interface (EXCI).
图1提供了对于两阶段提交(Two - Phase -Commit)协议如何工作的图形化印象。
Figure 1 gives you a graphical impression of how the Two-Phase-Commit protocol works.
该行为可以通过使用两阶段提交(Two - Phase -Commit)协议完成。
This behavior can be achieved using the Two-Phase-Commit protocol.
本例没有使用两阶段提交(Two-Phase-Commit)协议,因此,它不是一个分布式事务(Distributed Transaction)。
This example is not using the Two-Phase-Commit protocol and therefore it is not a Distributed Transaction.
“但是”,您或许会问,“如果在两阶段提交(Two - Phase -Commit)协议的第2阶段中出现错误,又将发生什么事情呢?”
"But", a you might ask, "what happens if an error occurs during Phase 2 of the Two-Phase-Commit protocol?"
“但是”,您或许会问,“如果在两阶段提交(Two - Phase -Commit)协议的第2阶段中出现错误,又将发生什么事情呢?”
"But", a you might ask, "what happens if an error occurs during Phase 2 of the Two-Phase-Commit protocol?"
应用推荐