The limits of control
What you can decide when the pager goes off.
The pager goes off just after a deploy. Checkout errors are rising. Before you open a dashboard, you already have a theory. The deploy broke checkout. You may already be wondering how you missed it.
Marcus Aurelius gives himself a rule in the Meditations. Stay with what you’ve observed before adding a judgment of your own. He can see that his child is ill. The danger he imagines is a further judgment. The same distinction matters on call. Some customers can’t check out, and the errors rose after the deploy. The timing makes the deploy worth investigating. Check whether failures are concentrated on the new version before you tell everyone what caused them.
Decide what you’re trying to change
Epictetus opens his Handbook by asking which things are up to us. During an outage, you can check a hypothesis, ask someone to review the risks, and choose a mitigation. Those choices can improve the odds of recovery. They can’t guarantee it.
Seneca’s archer has to know what to aim at before drawing the bow. Here the aim is to restore checkout without charging anyone twice. The Stoic Week Handbook describes a practice called forming an intention with reservation. In an incident, that means saying what you intend to do and what would make you reconsider. Roll back if the previous version can read the data the new one wrote and pending payments can be retried safely. If either check fails or is inconclusive, hold the rollback and look for a safer mitigation.
Four short lines in the incident channel can get everyone working from the same facts.
- Impact. Some customers can’t complete checkout. We’re checking how widespread it is.
- Working hypothesis. Errors rose after the deploy. We’re checking whether the failures cluster on the new version.
- Next action. The deploy owner checks compatibility and rolls back if it’s safe.
- Reassess. Watch checkout completion and payment errors. If payment errors rise, pause before rolling back more instances. If checkout is still failing after the rollback, revisit the hypothesis.
Make room for other people
It’s hard to operate the system, answer questions, and keep a reliable timeline at the same time. Ask someone else to record decisions and give updates while you work. Say which assumption worries you. A colleague who hears “I’m unsure whether pending payments can be retried safely” knows exactly where to look.
If fatigue is making it harder to follow what changed, hand over while you can still explain the situation clearly. Tell your replacement what customers are experiencing, what you tried, and which decision is next.
Change what the next responder inherits
After recovery, ask what the team could see when it made each decision. A rollback that happens to work can still expose a gap in how you assess risk. A rollback that fails can show you which assumption to revisit.
If rollback safety depended on somebody remembering which versions could read which data, turn that knowledge into a compatibility check and give it an owner. Then rehearse the moment the check fails. Donald Robertson’s guide describes imagining adversity in advance and asking how you would respond. In a rehearsal, give the team the failed check and see whether they can choose a safe next step with the evidence they’d have on call.
The next responder should be able to get an answer from the system when the person who remembers is asleep.
Reading notes
- Marcus Aurelius, Meditations 8.49, numbered VIII.47 in the supplied Meric Casaubon edition, p. 74.
- Epictetus, Handbook §1, reproduced in the Stoic Week 2016 Handbook, “Tuesday: Control,” PDF pp. 25–28. See also Discourses 1.1 in Erik Wiegardt’s The Stoic Handbook, 2nd ed., p. 22.
- Seneca, Moral Letters to Lucilius, Letter 71, “On the Supreme Good,” MPowered PDF p. 248. Also in Richard Mott Gummere’s translation in The Tao of Seneca, vol. 2, pp. 52–53.
- Donald J. Robertson, A Guide to Marcus Aurelius and Stoicism, “Three Stoic Practices,” p. 6.
Continue reading: Rehearse the failure