Expand-Contract Migration - CI/CD Glossary Definition
Expand-contract migration splits a breaking change into an additive expand step and a later contract step, staying compatible in between.
An expand-contract migration splits a breaking schema change into an additive expand step and a later cleanup contract step, keeping the schema compatible with both code versions in between.
This pattern is the backbone of zero-downtime deploys: expand ships first, code migrates to the new shape, then contract removes the old shape once nothing uses it.
Related guides
Zero-Downtime Migration - CI/CD Glossary DefinitionZero-Downtime Migration: A zero-downtime migration changes the schema without interrupting service, by making…
Dual Write - CI/CD Glossary DefinitionDual Write: A dual write has application code write to both the old and new schema (or store) at once during…
Cutover - CI/CD Glossary DefinitionCutover: A cutover is the moment a system switches from an old data path to a new one, making the new schema…