Skip to main content

> Term

migration risk

The calculated probability and impact of data loss, corruption, or prolonged downtime during a system transition.

Detailed Explanation

Migration risk encapsulates everything that can go wrong when changing the foundation of a running system. This includes locked tables blocking traffic, data truncation, character encoding corruption, and API contract breakages.

Engineers mitigate this risk by using incremental migrations, comprehensive backups, dry runs on staging data, and establishing clear rollback thresholds.

Why It Matters

Acknowledging migration risk forces engineering teams to build safety nets (like backups and dry-runs) instead of blindly running scripts against production.

Common Failure Mode

Underestimating the migration risk of an encoding change, resulting in millions of user records getting permanently corrupted with replacement characters ().

Practical Example

Mitigating migration risk by taking a snapshot right before execution.

Production Manifestation

Pre-migration database snapshots, feature flags to toggle system routing, and read-only maintenance windows.

Frequently Asked Questions

What is migration risk in short?

The calculated probability and impact of data loss, corruption, or prolonged downtime during a system transition.

What is the most common failure mode?

Underestimating the migration risk of an encoding change, resulting in millions of user records getting permanently corrupted with replacement characters ().

AI Summary

The calculated probability and impact of data loss, corruption, or prolonged downtime during a system transition. Acknowledging migration risk forces engineering teams to build safety nets (like backups and dry-runs) instead of blindly running scripts against production.