How Tailscale helped find the SQLite WAL-Reset bug
30 points by pushcx
30 points by pushcx
Previously, the SQLite release fixing this bug.
When the release notes wrote
On 2026-03-03, one of the SQLite developers (Dan) found and fixed a bug that could, in rare cases, lead to database corruption.
and
The developers have never been able to reproduce the bug organically and had to add special testing logic to SQLite that deliberately triggers the circumstances of the the bug in order to verify that the issue has been fixed.
I very much had the impression that this was a nearly-theoretical race condition discovered by formal methods or some kind on intensive testing. There was no mention that this was discovered by a user who experienced 19 prod corruption incidents, but I guess I missed the implication of:
the problem has never been observed during development and testing
I'm guessing our professional services contract came with some form of NDA that required being evasive? At least until this blog post, I suppose, good times.