The Two-Phase Commit Protocol (2CP) has two types
of node to complete its processes: the coordinator and
the subordinate, (Mohan et al., 1986). The
coordinator’s process is attached to the user
application, and communication links are established
between the subordinates and the coordinator.