Recovery
Undo a Loser
Undo rolls back a transaction with no commit before crash.
Undo a loser
A transaction that began but did not commit before the crash is a loser. Loser writes are rolled back by before images and never survive into recovered state. Note: undo is listed in reverse LSN order.
Loser classification
The compiled log has 1 loser. Note: the loser label comes from the missing commit before crash.
a simplified redo/undo recovery over a tiny log; ARIES detail (fuzzy checkpoints, CLRs, media recovery) and real durability/fsync are beyond these traces - no product claims.
Undo list
The undo list has 1 write, and the recovered state has 1 item. Note: the loser after image is visible in the log but not durable.
a simplified redo/undo recovery over a tiny log; ARIES detail (fuzzy checkpoints, CLRs, media recovery) and real durability/fsync are beyond these traces - no product claims.
Summary
Undo removes non-committed work from the recovered state. Note: this is simplified redo and undo; ARIES detail, fuzzy checkpoints, CLRs, media recovery, and real fsync durability are deferred.