How does write-ahead logging WAL support atomicity and durability? | Transactions and ACID question · AnyPrep