How Tailscale tracked down a 16-year-old SQLite bug →

We had repeated database corruption until we fixed a rare SQLite corruption bug. What does it take to find such an error?