Programmers delete database data, not punishment, but give praise!

Point of attention, do not get lost; continually updated Java-related technologies and information architecture thermal paper! ! !

Sharp-eyed friend may also see this blog page upper left corner there are surprises yo

Jingle bell jingle bell ... ...
"Hey, manager, and now we can not access the site properly, we abnormality is detected by background log!"
"Give me a specific abnormal shots right away!"
"Well ... Screenshot been sent to you! " "
... " "
immediately verification database, data is written to the nearly one hour, the analysis! "

After receiving this phone, all engineers across the company into a state of high tension, and held an emergency meeting to deal with, from the network to a variety of middleware and then the program code analysis.

1 minutes ... two minutes ... 10 minutes later.

Jingle bell jingle bell ... ...
"Hey, manager, at the moment all our services all has returned to normal, log, database detect all normal!"
"Nani ??????"
"What did you do the operation deal with it? " "
... this ... this, our verification database data, found a large number of illegal fields are written into the database, in desperation, to delete all batch! " "
... "

1 hour ... two hours ... 6 hours, feeling uneasy, some states suffering the next little bit of the past.

"Hey, now observe how all the sites, services, middleware, database and other kind of operation?"

"All normal! There is no exception!"

Later, engineers drawn from the analysis, the cause of the site can not access normal use is: are hanker by SQL dependency injection, written to the database a Trojan horse virus, because of our timely operation and maintenance programmer will carry the Trojans data deletion, was able to save the entire site lead to paralysis of the results.

在这里插入图片描述

After that is dependent on SQL injection caused a "disaster", the program after a quick upgrade iteration, will make up their bug, it has not been a problem similar exception.

通过该事件,虽然运维工程师是在未经运维制度流程审批(注:一个从事IT行业多年的企业,一般都会有操作任何数据、服务器等的规范流程制度。),就将携带病毒的数据删除,但是有了此举,才得以我们没有损失任何数据,功大于过。

最后,公司决定对运维工程师进行全体通告表彰并加以奖励!

Guess you like

Origin blog.csdn.net/Java_No01/article/details/90677466