Explain the 'Write-Ahead Log' (WAL) mechanism in databases like MongoDB. How does it ensure durability during a sudden power failure? | Durability | System-Design Interview Questions | NextRound.in