Module wal

Module wal 

Source
Expand description

Write-Ahead Log (WAL) for L3 durability during MySQL outages.

When MySQL is unavailable (maintenance, network issues, etc.), items are written to a local SQLite database. A background task drains the WAL to MySQL when connectivity is restored.

This is NOT a tier - it’s a durability buffer. Items in the WAL are “in flight” to MySQL, not a permanent storage location.

Structs§

MysqlHealthChecker
Health checker for MySQL connectivity.
WalStats
WAL state for observability
WriteAheadLog
Write-ahead log backed by SQLite.