Problem
1. Discuss the modifications that need to be made in each of the recovery schemes covered if we allow nested transactions. Also, explain any differences that result if we allow multilevel transactions.
2. What is the purpose of compensating transactions? Present two examples of their use.