Dit deel is nog niet vertaald. Je ziet de Engelse tekst.
$ als gewone gebruiker# als root (of met sudo)
The quick answer
# Checkout errors after deploy — 20 Nov 2026
Status: final · Author: alice · Reviewers: team-payments, platform
## Summary
For 38 minutes, 22 % of checkout requests failed with HTTP 500 after release 1.4.2.
## Impact
- 09:12–09:50 UTC, about 1,900 failed checkouts, est. 30 % retried successfully.
- Error budget: 61 % of the monthly budget used.
## Timeline (UTC)
- 09:10 Release 1.4.2 deployed (canary skipped).
- 09:12 Error rate rises. 09:19 Alert ApiErrorBudgetFastBurn pages on-call.
- 09:31 Cause found: new DB migration locked the orders table.
- 09:44 Rollback started. 09:50 Error rate normal.
## Causes and contributing factors
- Migration added an index without CONCURRENTLY → table lock.
- Migration not tested with production-size data.
- Canary step can be skipped without approval.
## What went well / what went badly / where we were lucky
- Well: alert fired in 7 minutes; runbook rollback worked.
- Badly: 12 minutes to find the migration; no deploy marker on the dashboard.
- Lucky: it happened outside the evening peak.
## Actions
| Action | Owner | Due | Ticket |
|---|---|---|---|
| Lint migrations: require CONCURRENTLY for indexes | bob | 2026-12-04 | OPS-412 |
| Test migrations on a production-size copy in CI | carol | 2026-12-18 | OPS-413 |
| Canary cannot be skipped without approval | alice | 2026-11-27 | OPS-414 |
| Deploy markers on Grafana dashboards | dave | 2026-11-27 | OPS-415 |Step by step
- When — after every incident that hurt users, used a big part of the error budget, or needed a page; also for near misses. Start the draft within one or two days, while memory is fresh.
- Collect facts first — alert times, chat messages of the incident channel, deploy history, graphs, logs. Write the timeline in UTC with exact times.
- Impact in numbers — duration, users or requests affected, money, SLO budget used.
- Causes, not a culprit — ask "why?" several times. There are usually several contributing factors (code, tests, process, alerting). "Human error" is never the end: ask why the system made the error easy and its effect large.
- What went well and badly — what helped (alert, runbook) is worth keeping; what slowed you down becomes an action.
- Actions that change the system — each with one owner, a due date and a ticket. Prefer automatic guards (lint, tests, safer defaults) over "be more careful". Few strong actions beat many weak ones.
- Review meeting — 30–60 minutes with everyone involved, within a week. Read, correct, agree on actions. The facilitator keeps it blameless.
- Share and follow up — publish it where all engineers can read it (repo or wiki), and check the open actions every week until they are done. Look at all reviews every quarter for patterns.
Check that it worked
The review is published within a week, every action has an owner, date and ticket, and after the due dates the tickets are closed. The same kind of incident does not come back — or, if it does, the new guards catch it earlier.
Common problems
| Problem | Cause | Fix |
|---|---|---|
| People hide details | Fear of blame. | Blameless rule stated at the start; leaders model it. |
| Actions never get done | No owner, no date, not in the normal backlog. | Tickets with owner and date; weekly follow-up. |
| Root cause = "human error" | Stopped asking why too early. | Ask why the system allowed it; look for guards. |
| Timeline is wrong | Written from memory days later. | Use chat logs, alerts and deploy history; UTC times. |
| Reviews nobody reads | Long, hidden in private folders. | Short template, one shared place, a monthly summary. |
| Same incident again | Weak actions ("be careful"). | Automatic checks, tests and safer defaults. |
Go further
- Command pages: journalctl, kubectl, git.
- Next how-tos: Write a runbook for on-call, Define an SLO and an error budget, Roll back a Kubernetes deployment, Find slow PostgreSQL queries.
- Learn it: Operations at work — runbooks, DevOps map — DORA metrics.
1What does "blameless" mean in a post-incident review?
The review looks for the weaknesses in systems and processes that allowed the mistake, not for a person to blame.
2What makes a good action item?
One owner, a due date, a ticket, and a change to the system (a test, a check, a safer default) rather than "be more careful".