BolEnglishLearn · Play · Win
Login

↩️ DevOps & Deployment · Delivery & Deployment

↩️

Rollback

Delivery PracticeCoreModule 8

Provide a safe way to recover from a bad release.

Not every production problem can be fixed immediately.

💡 In practice

Revert to the previous application version when a release causes critical failures.

🖼️ CONCEPT PICTURE
A picture to help remember Rollback
Revert to the previous application version when a release causes critical failures.

💡 It is like keeping last night's dinner in the fridge: if tonight's new recipe is a disaster, you can serve the one you know everyone liked.

💡 Learn🛠️ Apply🎯 Check

💡 Why it matters

Even careful teams sometimes ship a release that breaks things badly. Trying to debug and patch under pressure, while users are hurting, is slow and stressful. A reliable rollback lets you quickly return to the last known-good version, stop the bleeding, and then investigate calmly. Knowing you can go back makes releasing far less frightening.

🛠️ How to achieve it

1
Keep the previous version ready
Always retain the last known-good release so you can switch back to it in minutes, not hours.
2
Practise the rollback
Rehearse going back before you need it; a plan nobody has tested often fails in a real emergency.
3
Handle data changes carefully
Design database changes so they can coexist with the old version, because data rarely rolls back as cleanly as code.
4
Decide the trigger in advance
Agree beforehand what level of failure means roll back now rather than keep trying to fix it live.

⚠️ Signs of trouble

  • •The only recovery plan is "fix it forward" under pressure.
  • •Nobody keeps the previous version available.
  • •A rollback has never actually been tested.
  • •Database changes make going back impossible.
⚠️ Common mistake: Having no rehearsed way back, so a bad release means hours of panic. Instead, keep the last good version ready and practise returning to it.

🎯 Quick check

Score: 0/3

Three questions to test the idea.

  1. 1. What is a rollback for?

    Answer: Recovering quickly to a known-good version after a bad release

    Rollback lets you return to the last working version instead of debugging live under pressure.

  2. 2. Why rehearse a rollback before you need it?

    Answer: An untested plan often fails in a real emergency

    A rollback you have never practised may not work when a real outage is happening.

  3. 3. Why are database changes risky for rollbacks?

    Answer: Data rarely rolls back as cleanly as code does

    Design database changes to coexist with the old version, because reverting data is far harder than reverting code.

🔑 Key terms

Known-good version
The last release confirmed to work properly.
Revert
Switch back to a previous version.
Fix forward
Fixing a problem with a new release rather than rolling back.
Backward-compatible change
A change the old version can still work with.

✅ Review checklist

📊 Your progress

0%
Mark this topic learned to track it.
Saved in this browser.
🚀 Got it?
Mark it learned and move to the next topic.
Next topic →