Broken database migrations: How we finally fixed an embarrassing problem
Upgrades of Sourcegraph instances would often fail with a dreaded "dirty database" error, leaving the the instance in a broken state that required manual intervention to resolve. Here's how we identified and solved a huge source of pain during upgrades for administrators.
Read more