Incident postmortem
Routes not published by 05:00 on Tue 22 Sep 2026
On the morning of Tue 22 Sep, 211 trucks at 14 customers started the day without a new route. A database change we made locked the table that nightly planning needs, and the planning jobs gave up.
Summary
The nightly planning for 14 of our 38 customers did not finish. Routes were not on the cab tablets at 05:00, so 211 trucks started without a new plan, and drivers used yesterday's route or paper lists from the depot. The last routes were published at 07:52. Affected trucks started 47 minutes late on average.
The cause was a database change we deployed at night. It locked a table for almost two hours, the planning jobs waited, timed out and did not restart. No data was lost.
We're sorry. Your crews started late because of a change we made, and that's on us.
Impact
211 trucks at 14 customers started the day without a new route.
| What | Number |
|---|---|
| Customers affected (9 municipalities, 5 contractors) | 14 |
| Trucks without a new plan at 05:00 | 211 |
| Average start delay for affected trucks | 47 min |
| Stops collected later than planned that morning | about 9,800 |
| Stops missed altogether, collected the next day (Wed 23 Sep) | 640 |
| Customers who claimed under the SLA | 3 |
| Service credits paid | € 11,850 |
| Data lost | none |
The SLA is that routes are published by 05:00 on 99.5% of days each month.
Timeline
Tue 22 Sep 2026. The planning jobs were blocked from 02:10. We found out at 05:00, 2 hours 50 minutes later, and started the manual re-run at 05:20.
- 01:58A database change starts deploying. It prepares the tipping-site queue feature for release 4.3.
- 02:10The change starts rebuilding the stops table, and the table is locked. Nobody expected the change to lock it.
- 02:10–03:58Planning jobs for 14 customers wait for the lock, retry 3 times and time out. The other 24 customers plan earlier and had already finished.
- 03:58The table rebuild is done and the lock is released. The planning jobs do not restart by themselves, because they had already given up.
- 05:00Detected. The alert "plans missing at 05:00" fires and pages the on-call engineer.
- 05:06The on-call engineer acknowledges the page.
- 05:20Recovery starts. A manual re-run of planning begins, biggest customers first.
- 05:35The status page is updated and affected customers are emailed.
- 06:4010 of the 14 customers have their routes.
- 07:52Resolved. The last customer's routes are published.
- 09:30All-clear on the status page.
Why it happened
What set it off
The database change looked safe to run while the system was in use when it was reviewed. But it changed the type of a column, and that rebuilds the whole table and locks it until the rebuild is done.
What turned it into an incident
- Testing did not show the lock. On our test environment the change took 3 minutes. The test data is about 1/40 of production, so the lock never lasted long enough to matter.
- Database changes were allowed at night, which is exactly when nightly planning runs.
- We only alerted on the end result, no plans at 05:00, not on planning jobs that were waiting. We could have known at 02:20.
- Planning jobs that time out do not restart on their own once the cause goes away. The lock was released at 03:58, but nothing ran again until the manual re-run at 05:20.
What we are changing
| Change | Owner | Due | Status |
|---|---|---|---|
| No database changes between 20:00 and 06:00. The deploy pipeline enforces this, so it does not depend on people remembering a rule. | Felix Aydın | Thu 24 Sep | done |
| Status page update and customer email within 15 minutes of a page, from a template. | Sanne de Graaf | Fri 25 Sep | done |
| An alert when any planning job has waited more than 15 minutes. | Ruth Okafor | Fri 9 Oct | planned |
| Test database changes against a full-size copy of production data. | Felix Aydın | Fri 30 Oct | planned |
| If a customer's new plan is missing at 05:00, publish yesterday's plan automatically, with a clear banner on the tablet, so drivers have something to work from. | Noor Hamdi, PM | Mon 30 Nov | planned |
We will show you the fallback plan first
Publishing yesterday's plan changes what your drivers see on the tablet. We will show it to you before it goes live.
What we are not changing
The target stays the same: routes are on the cab tablets by 05:00.