What is a rollback vs a roll-forward, and when do you choose each?
IntermediateConceptRelease Engineering & Reliability Patterns
Answer
A rollback reverts to the previous known-good version; it should be the default mitigation because it is fast and well-tested. A roll-forward ships a new fix. Roll forward only when rollback is impossible or more dangerous, for example after an irreversible database migration or when the previous version has a security vulnerability. To keep rollback possible, make schema changes backward compatible (expand/contract) and keep the previous artifacts and configs available.
More on Release Engineering & Reliability Patterns
Why are releases the biggest source of incidents, and what does SRE do about it?BeginnerWhat is a canary release?BeginnerWhat is progressive delivery?IntermediateShow an Argo Rollouts canary with a Prometheus analysis.AdvancedBlue-green vs canary: when do you choose each?IntermediateWhat are feature flags and how do they improve reliability?Beginner