Tailscale Traces Database Corruption to 16y/o SQLite WAL-Reset Bug

Tailscale Traces Database Corruption to 16y/o SQLite WAL-Reset Bug

Tailscale's control plane suffered repeated SQLite database corruption outages, traced to a 16-year-old bug in SQLite's WAL reset logic. The bug, triggered during checkpoints, caused committed transactions to vanish. Tailscale and SQLite developers collaborated, using custom transaction logging and a new debugging tool, to pinpoint the issue. The fix is now in place, and Tailscale has published a detailed postmortem.

A write had vanished into thin air without raising an error. That should be impossible!

More from this day

2026-08-12