Coming soon The Briev app is almost here. Leave your email and be first in on launch day.

Briev
Live
Technology

Tailscale traces 2025 outages to a 16-year-old SQLite write-ahead log flaw

Tailscale discovered that recurring service disruptions in late 2025 were caused by a long-standing bug in SQLite’s write-ahead log mechanism.

Tailscale experienced intermittent outages beginning in August 2025, which were later linked to a 16-year-old flaw in SQLite’s write-ahead log (WAL) system. The issue arose because Tailscale’s control plane manually managed checkpointing to accelerate backups, a usage pattern that triggered a rare data race between checkpoint and write transactions. This race caused certain pages to be omitted from the main database file, corrupting the database and disrupting service.

With assistance from SQLite maintainers, Tailscale employed a newly built virtual file-system shim to log checkpoint activity and isolate the problem, now termed the WAL-Reset bug. SQLite has patched the defect, which had persisted since version 3.7.0 released in July 2010, and recommends users update to the corrected version. The incident highlights risks of operating reliable software in unconventional configurations.

Why it matters

It shows how obscure software bugs can cause major service outages and underscores the need for careful database configuration.

In this story

SQLitewrite-ahead logWAL-Reset bugcheckpointingdatabase corruptionTailscale outagessoftware bugdatabase reliability