Expand-Contract Migration - CI/CD用語集の定義
expand-contract migrationは破壊的な変更を追加的なexpandステップと後続のcontractステップに分割し、その間は互換性を保ちます。
expand-contract migrationは、破壊的なschema変更を追加的なexpandステップと後続のクリーンアップのcontractステップに分割し、その間はschemaを両方のコードバージョンと互換に保ちます。
このパターンはzero-downtimeデプロイの土台です。まずexpandを出し、コードが新しい形に移行し、その後contractが何も使わなくなった古い形を削除します。
関連ガイド
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…