SQLite released version 3.51.3 in March 2026, addressing a data race in its Write-Ahead Logging subsystem known as the WAL‑Reset bug, first reported in 2010.
SQLite released version 3.51.3 in March 2026, addressing a data race in its Write-Ahead Logging subsystem known as the WAL‑Reset bug, first reported in 2010. The defect, which could cause lost committed writes and database corruption, was identified after a six‑month uptime investigation by Tailscale in 2025. Carl, a developer who maintains a testing framework called Antithesis, reproduced the bug using a generic workload that performed concurrent WAL inserts and checkpoints. The test, which included assertions for integrity and absence of lost writes, detected the issue in 15 minutes on version 3.51.2, which was still buggy. Running the same workload against version 3.51.3 returned a green result, indicating the fix. Tailscale’s engineers explained that locating the bug required writing a new transaction logging pipeline and adding a debugging shim to SQLite’s virtual filesystem layer, a process that took several weeks. The experience highlighted the difficulty of reproducing the race condition without specialized testing.
- Publisher
- Hacker News
- Reliability
- high
- Published
- 8/13/2026, 10:00:33 AM
- Retrieved
- 8/13/2026, 10:00:33 AM
- Relevance
- 80%
- Confidence
- 85%

