Skip to content

The migration that took the site down

A migration adds a column with a default value to a table holding 50 million rows. On deploy, every query against that table blocks for several minutes.

What went wrong?