Information Technology Reference
In-Depth Information
Fig. 13.2
Actions performed at the coordinator and at the participants when executing the
transaction of Examples
13.1
and
13.2
under the two-phase commit protocol
13.3
Atomic Commitment
The requirement of atomicity of transactions on a centralized database generalizes
naturally to the following requirement of atomicity of transactions on a distributed
database: the coordination of a distributed transaction must lead either to the commit
of all its subtransactions or to the abort and rollback of all its subtransactions. This
requirement is sometimes called
global atomicity
, to emphasize the difference from
the
local atomicity
naturally required of each subtransaction.