State & Data Consistency
Partial/failed migration
Last updated: 4 Mar 2026
Definition
Schema/data changes applied only in part, leaving mixed versions and runtime errors.
How to fix Partial/failed migration?
Make migrations idempotent; add pre/post checks and rollbacks; gate deploys; verify across environments before rollout
Symptoms
Observable signs that may indicate Partial/failed migration:
- Some services read new schema while others expect old.
- Runtime errors referencing missing columns/tables.
- Data shape differs between environments.
Example Errors:
- column "foo" does not exist
- Liquibase failed: changeset did not run
- Flyway: checksum mismatch for migration