Rollback Strategy Design
Goal
Include a safe rollback plan in every design.
Instructions
Rollback Design Checklist
- •Is the DB migration backward-compatible?
- •Can the feature be disabled via feature flag?
- •Can Blue-Green / Canary deployment strategy be applied?
- •Data recovery scenario (backup point, restore procedure)
- •Dependent service rollback order
Rollback Approach by Risk Level
- •Low: Feature flag OFF
- •Medium: Redeploy previous version + DB forward-compatible
- •High: Full rollback + data restore + dependent service synchronized rollback
Constraints
- •Designs that cannot be rolled back must always include a prior warning
- •Migrations with potential data loss must always include a backup strategy
References
See references/rollback-patterns.md for additional rollback patterns