March 2003
Intermediate to advanced
912 pages
27h 17m
English
Figure 15.3 illustrates the essentials for implementing an atomic operation on a persistent object. When the execution causes a write to persistent store, both the old value and the new value of the data must be recorded in some form, together with the identifier of the transaction that carried out the update. This is so that if a crash occurs before the operation completes, the old value can be restored. This is sometimes referred to as rolling back the state recorded in persistent store or undoing the operation.

This is a very general outline of ...