2pc and 3pc protocol are two most popular algorithms of managing how to commit or abort distributed transaction in DDBMS.
Recover from a system wide power off failures
Please list the main steps that each type of the site involved in the transaction will take when 2PC or 3PC is applied during the terminating process or recovering process.