CHAPTER XXVII
27.1
Monday, small company meeting room. After participating in the company's coordination meeting, hurriedly pulling a few mouthfuls of lunch, Wang Youjie was full of energy in the afternoon, and began to hold the department's regular weekly meeting.
With the increase in the number of people in the department, there are now as many as eight team leaders, excluding Sister Zhou, who specializes in testing.
Come straight to the point. There is no superfluous nonsense, Wang Youjie first asked Wu Deli: "Is the application bug of Company A completely solved now?" ”
A month ago, Unit A's application, which was working well, suddenly went wrong: it would crash without warning every day around 2 p.m. At first, the unit thought it was their own internal problem, but after nearly 10 days of self-examination and self-correction, nothing was effective.
Later, it was reported to Wang Youjie and their company. The company naturally attaches great importance to it, and in accordance with the principle of who completes and who is responsible, the task of maintaining this business is assigned to Wang Youjie's department. But in fact, the completion of this project of Company A was more than three years ago.
Wu Deli and Sister Zhou's team sent personnel to check the logs, but they did not report any errors at all. I tried everything I could to simulate it in a test environment, but I couldn't reproduce it.
This recurred for ten days.
In this way, not only Company A, but even Wu Deli, who is specifically responsible, feels that he is about to despair.
Seeing Wang Youjie asking, Wu Deli cheered up at this time and said loudly: "It started last night in the afternoon, and it was almost two o'clock in the morning, and it was finally a temporary end. ”
Wang Youjie then asked: "What about the process, what is going on, and what is the problem?" ”
Wu Deli thought for a while and said, "It's wrong to think on the left, it's wrong to think on the right, and two or three days ago, we started to change the plan. Later, I slowly realized why the system crashed at almost no other than 2 p.m. Beijing time. Is there something wrong with this? ”
Wang Youjie stared at Wu Deli.
"With this new idea, we started to look up their company's customer profiles purposefully, and we found some clues. By chance, we found out that our two o'clock in the afternoon, it was 8 o'clock in the morning in Italy, at that time, their company's newly developed Italian users would log in to the system, and some users with special attributes did an operation, triggering a code branch that was in disrepair and ordinary users could not walk at all, resulting in a direct exit of the system. ”
"It's easy to find the reason." Wang Youjie thought for a while and asked, "How did you solve it later?" ”
Wu Deli smiled and said, "It's very simple, we fixed this bug with just one line of code!" ”
There was a laugh in the room.
"The most painful thing in the world is that I can't reproduce a bug in front of my eyes. You see, it was a matter of just one line of code, but this time the process took a month! ”
Wang Youjie thought for a while and said, "We must learn the lesson of this time." Students, the bug must never be reproduced again?! ”
There was silence below.
Wu Tao coughed two or three times "out of place" at this time.
Wang Youjie smiled and said, "If you have a fart, let it go, don't fake it." "Wu Tao is Xiao Wu who has been following Wang Youjie. Now he has grown into a competent leader in the department, and a month ago he finally became a "prince" with a group of five or six people.
"Xiao Wu, you always have such an opening statement, we are all used to it. Good felling?! "There was also a heckling.
Wu Tao smiled awkwardly, and then said, "Boss, our team is about to be killed by customers in the past few days." ”
Wang Youjie was surprised and asked, "How can you ------? ”
Wu Tao spoke intermittently for four or five minutes before he finished talking about the recent special encounter with their group.
It turned out that the project that their group was working on now, and Li Li, the person in charge of Party A, was always the second-in-command in the unit, and he didn't know when he learned a little bit about programming technology. Mr. Li's mantra is: This requirement, can you use SQL to choose from the database? ! How do you guys have to develop for a week?! Don't try to fool me!
"Tell me, you have met such a leader of Party A------," Wu Tao got up now, and he hung his head down, "Alas, it's difficult for us now----"
Someone started chattering.
"How can he consider using SQL, SQL's LIKE is extremely inefficient, and it will definitely collapse after the amount of data is large in the future."
"Yes, I think we should build a full-text index, and we need a search-based solution."
-------
Wu Tao continued to complain about grievances: "Some people say that blind command without understanding technology is terrible. I think it's even more terrifying to know a little bit of technology and then point fingers! ”