Consider the execution shown in Figure 20.8. In addition, the system crashes during recovery after writing two log records to stable storage and again after writing another two log records.
1. What is the value of the LSN stored in the master log record?
2. What is done during Analysis?
3. What is done during Redo?
4. What is done during Undo?
5. Show the log when recovery is complete, including all non-null prevLSN and undonextLSN values in log records.
Figure 20.8
![471_653e4ebc-be0b-4584-b6db-ffa1496c41ac.png](https://secure.tutorsglobe.com/CMSImages/471_653e4ebc-be0b-4584-b6db-ffa1496c41ac.png)