Interview Prep/SRE & Reliability/Release Engineering & Reliability Patterns

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.

All SRE & Reliability questions

More on Release Engineering & Reliability Patterns