Zero-Downtime Migration - CI/CD用語集の定義
zero-downtime migrationは、デプロイ中も変更を後方互換に保つことで、ダウンタイムなしにschemaを変更します。
zero-downtime migrationは、変更を後方互換にすることでサービスを中断せずにschemaを変更し、デプロイ中も古いコードと新しいコードの両方が動作するようにします。
標準的な手法はexpand-contractです。新しい形を追加し、読み取りと書き込みを移行し、その後のデプロイで古い形を削除します。
関連ガイド
Expand-Contract Migration - CI/CD Glossary DefinitionExpand-Contract Migration: An expand-contract migration splits a breaking schema change into an additive expa…
Idempotent Migration - CI/CD Glossary DefinitionIdempotent Migration: An idempotent migration produces the same result whether it runs once or many times, ty…
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…