When concurrent writes contend on shared state, never flush a modified data page to disk before its log record is fsynced (STEAL), and never force data pages on commit (NO-FORCE)—let ARIES Analysis, Redo, and Undo reconcile everything after a crash.
TL;DR30-second simplified summary▾
Under a STEAL/NO-FORCE buffer pool, WAL guarantees durability and atomicity by enforcing flushedLSN >= pageLSN before page eviction and fsyncing commit records. ARIES coordinates the Dirty Page Table (recLSN), Transaction Table (lastLSN), and pageLSN headers across Analysis, Redo (repeating history from min recLSN), and Undo (backward prevLSN traversal with CLRs).
.
.
.
.
.
.
.
Practice: Make the trade-off yourself.
A buffer pool wants to evict a dirty 8 KB page with pageLSN = 4500 to disk while flushedLSN on the WAL is currently 4200. What must the storage engine do?