What is happening
Crash recovery starts from a checkpoint and applies redo to bring data pages forward while undo handles incomplete transactions. Recovery must identify log sequence numbers, redo format, server version, data dictionary state, and page condition; skipping redo can leave older B-tree and metadata pages inconsistent with newer files.