Read / scanned
Written to disk / repaired
Wrong after a crash / not allowed
Checkpoint
In focus
Undo entry (old value)
Redo entry (new value)
COMMIT
ABORT
Log buffer, not yet on disk
Dirty: memory differs from disk
✓ committed · … active · ✗ aborted or died
Committed state (what the disk must hold after recovery):
Transactions:
Log in textbook notation:
Steps of the whole run · a new action continues from the step on screen
Same actions under each method
| Method | Actions not allowed | Block writes | Log forces | Log entries | Wrong blocks after crash | Log entries read by recovery | Undone / redone | Wrong after recovery |
|---|
Replays every recorded action under each method. Block writes and log forces count normal processing only, before the crash.