If an interactive program crashes due to a non-catastrophic failure, it should always rollback to a safe point. The overall aim should be for an operator to be able to simply restart whichever procedure was being used at the time of failure. No explicit recovery procedures should need to be undertaken. This goal is essential to avoid having to provide continued low-level support for a system.
Automatic recovery is relatively easy to arrange for transactions that involve the update of a single database file record, as the update will have either succeeded or failed. A more difficult problem is presented when a single logical transaction requires the update of several database file records on one or more files. Briefly, there are several possible approaches:
|
Copyright © 2014 CA.
All rights reserved.
|
|