Tailscale Traces Outage to SQLite WAL Bug
Tailscale traced control-plane database corruption and outages to a rare race condition in SQLite’s write-ahead logging system. The bug existed since 2010 and was fixed in SQLite 3.51.3.
This is a powerful reminder that mature infrastructure can hide extraordinarily narrow failure modes for years.
- –The bug required concurrent writes and checkpointing across multiple connections in WAL mode
- –Tailscale’s production incidents helped expose a failure SQLite’s own tests could not reproduce organically
- –Developers using SQLite in production should verify their runtime version and upgrade to a patched release
- –The incident reinforces the value of replication, backups, and corruption detection even with highly trusted databases
- –SQLite’s simplicity remains compelling, but concurrency-heavy deployments need careful operational safeguards
DISCOVERED
1h ago
2026-08-12
PUBLISHED
4h ago
2026-08-12
RELEVANCE
AUTHOR
ropbear