Nghe chuyện, khám phá thế giới
Một người kể lại ngày công ty tung bản cập nhật lỗi; nghe xong bạn kể lại được một sự cố công việc theo trình tự và nói được lời xin lỗi khách hàng.
I want to tell you about the worst Tuesday of my working life, because I learned more from it than from any training course I have ever been sent on. I work for a company which makes scheduling software. Restaurants use it, small clinics use it, driving schools use it. About eleven thousand businesses depend on our system to know who is coming through the door and when. It is not glamorous, but it matters to the people who pay for it. We release an update every fortnight. That Tuesday the release contained a change which nobody thought was interesting: the way appointment times were stored had been simplified. It had been tested for three days. It had been reviewed by two engineers. It was approved and it was pushed out at nine in the morning, which was our first mistake, although we did not know that yet. The first complaint arrived at nine twenty. A hair salon in Manchester said their afternoon bookings had disappeared. We assumed it was a local problem, the sort of thing which is usually caused by an old browser. The second complaint arrived four minutes later, from a clinic two hundred miles away. By half past nine there were sixty tickets in the queue and the phone system had given up entirely. Here is what had actually happened. The new code stored times correctly, but any appointment which had been created before the update was read one hour out. So a booking made on Monday for three o'clock appeared on Tuesday at two o'clock. Half of every diary in the country had quietly slid backwards, and none of our tests had caught it, because our test data had all been created fresh that morning. We had tested the new world. We had never tested the old world meeting the new one. My manager, whose calm I still admire, did three things in about ninety seconds. She told the engineers to revert the release rather than fix it. She told the support team to stop apologising individually and to write one honest message instead. And she told me to phone the twenty largest customers personally. Reverting sounds simple. It is not. Any appointment which had been created after nine that morning had been stored in the new format, so rolling back would have broken those instead. In the end the code was rolled back and a small script was written to correct the records which had been made in between. That took until two in the afternoon. Four and a half hours of downtime, or rather four and a half hours during which the system was running and lying, which is considerably worse. The phone calls were the part I dreaded and the part I now think about most. I had expected anger. What I actually got, again and again, was a version of the same question: what should I tell the person standing in front of me right now? A dentist did not want an explanation of our database. He wanted to know whether the four o'clock patient was real. So I stopped explaining and started answering. Trust yesterday's printed list. Do not trust the screen. We will call you back when it is safe. That evening we wrote the report. Nobody was blamed, which surprised me, because I had assumed somebody would be. The conclusion was that the process had failed rather than the person. Three things were changed and all three are still in place four years later. First, releases are never pushed out on a Tuesday morning now. They go out on Wednesday at two in the afternoon, when the whole team is awake, fed, and sitting at their desks, and when there are still four hours of daylight to fix whatever breaks. Second, every release is tested against a copy of real historical data, not against clean data which we made ourselves. Old data is strange. It contains records from businesses which changed their name, appointments from a year when the clocks moved on a different date, and one restaurant which had somehow booked a table for the thirty second of March. Clean test data is polite. Real data tells the truth. Third, and this is the one I would recommend to anybody, we now send the honest message early. Our instinct that morning had been to wait until we understood the problem before we said anything. We waited fifty minutes. Fifty minutes is long enough for a customer to decide that nobody is coming. Now a message goes out within ten minutes, even if all it says is that a problem has been identified and that we do not yet know the cause. Did we lose customers? We lost nine. I expected to lose two hundred. Several of the ones who stayed told us afterwards that the afternoon had changed their opinion of us for the better, which took me years to understand. Nobody believes a supplier who says nothing ever goes wrong. What people are actually deciding is what you do on the day it does. So that was my worst Tuesday. Every system fails eventually. The part which is genuinely under your control is the hour afterwards.