Story #16 in "The Unspoken Code" — believable fiction, archetypal, never real life.
The backup ran every night at 2 a.m. Mara learned that on her first day, the way you learn most things in a new job, from a line in a runbook nobody had opened in months.
"Nightly backup, 02:00. Green means done."
Green meant done. The dashboard showed a row of green squares stretching back further than anyone on the team could remember, three years of them, one per night, unbroken. Mara scrolled through them on her second week, the way new people do, checking that the things they are now responsible for are actually true. The squares were green. The job was fine. She moved on to the things that were not fine, and there were plenty of those.
The outage came on a Tuesday, six weeks later, at 11:40 in the morning. A bad deploy took down the orders database, and the rollback did not bring it back, and the senior on call said the words everyone in the room had been waiting for someone else to say.
"Restore from last night's backup."
Nobody in the room had ever done a restore. That was the first thing Mara noticed, and she noticed it the way you notice a door you have always assumed was open. Three years of green squares, and the restore had never been tested. Not once. The runbook had a section for it, half a page, written in the same flat voice as the rest. It read like something copied from a vendor document and never read again.
She ran it. The backup was there, the file was the right size, the restore took forty minutes, and the orders came back. The room exhaled. Someone ordered lunch. The incident report would say the restore worked, and it did, in the sense that matters most at 12:30 on a Tuesday with customers waiting.
It was 4 p.m. before Mara looked at what had actually come back.
The orders table was three months old.
Not the whole database. Just the one table that mattered most, the one the outage had been about. Everything else was last night. The orders were from September. A migration in September had renamed a column, and the backup job had been skipping the table ever since, quietly, every night, logging a warning nobody read because the dashboard only showed green or red, and a skipped table was neither. Green meant done. Green had meant done for three months, while the thing it was supposed to protect quietly stopped being protected.
She sat with that for a while. The strange part was not the bug. The bug was ordinary, a renamed column, the kind of thing that happens every week. The strange part was the three years of green squares and the three months of silence, and how easy it had been to believe them. Nobody had lied. Nobody had cut a corner. They had built a job that reported success, and success was the only thing anyone had asked it to report.
She did not write a long incident report. She wrote a short one, and then she did the thing nobody had done in three years. She restored the backup again, on a test machine, and checked the orders table, row by row, against the live one. Then she changed the job. A skipped table would fail the run now, red, loud, impossible to miss. And once a month, on the first Monday, someone on the team would restore the backup and count the rows. She put her own name next to the first Monday. It seemed like the kind of job you should not hand to a green square.
That evening she stayed late, not because anyone asked her to. The dashboard still showed its row of green squares, and underneath it, new now, a second row had appeared. Restore tests, one per month, mostly empty. The first square was green. She looked at it for a moment, and then she opened the test log and read it anyway, line by line, to make sure green meant what it said this time.
The stories in this series are fiction. The numbers I write about on weekdays are real, and they live in the AheadKit guides. Everything I write here stays free, that part doesn't change. — Salam
More from AheadKit: programming books, packs and AI tools. Each page lists exactly what's inside before you pay.
Top comments (0)