Rollback Plans You Will Use
Most teams have a rollback document. Few have ever used it. When an incident hits and someone finally opens it, the commands are outdated, the permissions are missing, or the database change cannot be undone. This article, about the release phase, shows how to write rollback plans you expect to use, and how to keep them verified.
Why rollback plans fail
- Stale steps: the deploy tooling changed, but the document did not
- Things that cannot be undone: schema changes or bulk data updates make an app-only rollback inconsistent
- No decision owner: nobody knows who decides to roll back, so time is lost debating
- Unknown duration: is it 30 minutes or 3 hours? Without that, the plan cannot inform the decision
Four items every plan needs
1. Trigger and decision owner
Write the trigger as a number: "roll back if the error rate stays above 5% for 10 minutes." Name a role (the on-call lead) rather than a person, and define a deputy.
2. Measured duration
Record real timings, such as "app rollback: 8 min, cache purge: 2 min, verification: 10 min." Use numbers from drills, not guesses.
3. Data consistency
This is the item most often missing. For each release, decide in advance:
- Is the schema change additive, so the old app version still works?
- Can the old version read data written by the new version?
- Should irreversible changes (dropping columns, bulk updates) ship in a later, separate release?
4. Communication path
Prepare a template: who is told, in which channel, with what message. Nobody writes well during an incident.
[Rollback starting]
Target: v2.14.0 -> v2.13.2
Reason: error rate rising on checkout
Impact: some pages slower for about 10 minutes
Next update: in 15 minutesKeeping the plan alive
Run a drill every quarter
Roll back a recent release in staging, following the document. Have someone other than the author run it. Every place they get stuck is a defect in the plan.
Three questions at every release
- Does the standard procedure cover this release (any database changes)?
- What data differences remain after a rollback?
- Will the person who decides be reachable at release time?
A failure example: rolling back only the app
A release added a required column to the orders table. After a bug appeared, the team rolled the app back, but the old version did not know the column and every order save failed. The database then had to be fixed by hand, and recovery took two hours. Adding the column as optional and making it required in the next release would have avoided it.
Putting it into practice with Bugoon
After a rollback, you need to confirm that things are truly fixed. With the Bugoon widget embedded in your site, testers and non-engineers can send reports with screenshots on the spot. Operation steps are recorded too, so any leftover problem reaches developers with a reproduction path. Reports connect to GitHub Issues and the kanban board, which keeps post-rollback verification in one place.
Streamline bug reporting for your team.
Bugoon is free to get started. Add one line of code to your site and transform how your team handles bugs.
Get Started