As the name Implies, 2PC coperates in two phases: a voting phash and a decision phase . The basic idea is that the coordinator asks
all articipants whether they are prepared to commit the transaction. If one participant votes to abort,or fails to repond within