Skip to content
Tech

Why does my schema migration run before checking if deployed services survive it?

83

Oportunidade

When you push a schema change to a production database, the migration executes before any tool verifies that the service versions currently running can read and write the new shape. A dropped column or renamed field reaches the database before old pods finish draining, and rollback restores the schema but not data written by the new version in the meantime. ORM tools generate SQL from diffs but model nothing about deployment topology, concurrent service versions, or live read-write patterns. Teams compensate with expand-contract rituals documented in wikis and tribal knowledge, not enforced by tooling. A single misordered step triggered multi-service cascading failures and a documented $4.5 million incident in the last year alone.

Por que importa

A pre-flight compatibility check that models your live service topology would turn the riskiest step in a deployment into something you can reason about before hitting apply.

Como avalio a oportunidade

A Pontuação de Oportunidade é minha própria leitura, não uma medição: o quanto dói, com que frequência aparece e o quanto pouco existe para resolvê-lo hoje. Quanto maior, mais vale a pena construir, na minha opinião.

Gravidade9/10

O quanto de dor causa quando aparece.

Frequência8/10

Com que frequência as pessoas realmente se deparam com isso.

Lacuna7/10

O quanto pouco de boas ferramentas existe para isso hoje.

Mais problemas que merecem ser resolvidos