当前位置:网站首页>I almost ran away
I almost ran away
2022-06-28 20:42:00 【=PNZ=BeijingL】

In mathematical statistics , There is an important statistical rule : Suppose an accident is in an experiment ( Activities ) The probability of occurrence in is p(p>0), It's in n Experiments ( Activities ) The probability of at least one occurrence is P=1-(1-p)n. thus it can be seen , When the number of experiments n Tends to infinity ,pn Will become more and more 1, It becomes an inevitable event
This conclusion was made by Edward · Murphy should be used in security management , He pointed out that : Do anything , If there is an objective wrong way , Or there is the possibility of an accident , No matter how unlikely it is , When you do it over and over again , Accidents happen at some point . in other words , As long as the possibility of an accident exists , No matter how small the possibility is , This accident will happen sooner or later ( From Baidu )
Some people say :“ People need to precipitate , Have enough time to reflect on , To make yourself more perfect ”. As an old bird struggling to fly up , I can feel the importance of precipitation and reflection .
Think of precipitation and reflection , I just want to record a recent event . It turns out that running is so close to me . In the past, I have read many legends about the running of programmers with multiple versions on the Internet , Most of all rm -rf command . Delete the library and run away , Deleting important documents, running away, etc . I always thought this kind of thing was far away from me , I also only regard it as a self mockery among programmers , Never care . My recent experience has left me in a mess .
A few days ago, the provincial network found that there were system vulnerabilities in the system . A month ago, the production environment deployed a patch due to changes in requirements A, Patch A There is an error in the process of : When a particular condition is met , When the customer handles the transfer of ownership ( Customer A Users under go to customers B Next operation ) Business time , The user's discount for ordering products is not transferred to the customer together B, As a result, the products of the transfer users can not enjoy preferential treatment , Such users will be stopped in advance . The problem of stopping in advance is more serious , Will cause customer complaints
Procedural problems need to be solved , Problem customer ordering information needs to be fixed , Customer billing orders also need to be corrected . The boundless things . Naturally, this task was assigned to me again .
First , Program issues need to be addressed . Analyze the scene , Make patches , Release patches 、 Online patch 、 Verify that the problem is resolved . Everything went well , Full of confidence .
Then consider how to correct the problem data . Analyze problem scenarios 、 Statistics confirm the problem data range , Audit problem data , Write repair scripts , Write an audit script to confirm that the problem data has been fixed . Experienced , Full of confidence .
Because the database is in another province , After sales personnel go out for business , To solve the problem as soon as possible , You can only complete the repair work by yourself . While roast, he handled various applications . Request remote VPN account number , Report changes , Apply for database operation permission . When everything is ready . Remote link to database , Upload the repair script , Follow the processing steps to execute the script .
Data audit script , adopt . Anticipate !!
Statistical data processing , adopt , Same as estimated , A fun !!
Fallback problem data , adopt . Like yourself !!
Fix the problem data , Prepare to carry out . The company lost power , Change notebook links VPN,VPN The account is abnormal and cannot be logged in .
I feel like I'm running away . In the confusion, I thought of Murphy's law
Nothing is as simple as it seems ;
Everything will take longer than you expect ;
Things that go wrong always go wrong ;
If you're worried about something happening , So it's more likely to happen .
After half an hour , The power and network have been restored , Handle silently ......
Some thoughts after the answer to the question
1) Don't think of the problem simply : Make a backup , Whether it's file backup 、 The backup script , The data backup .
2) I am worried about whether something can happen : Prepare recovery scripts in advance . When a problem is found, it can be recovered in a short time , Avoid introducing new problems
3) Things that go wrong always go wrong : SQL The script is marked , such as UPATE Statement processing backs up the modified data to a temporary table or MEM Write a tag in
Last one :Ehcache Configuration data , It is convenient for you to check

边栏推荐
- 题解 The SetStack Computer(UVa12096)紫书P116STL的综合应用
- input separator
- Figure neural network can also be used as CV backbone model. Huawei Noah Vig architecture is comparable to CNN and transformer
- With a market value of $120billion, how did intuit, an old tax giant, do it?
- Comparisonchain file name sort
- How to open an account in great wisdom? Is it safe
- LeetCode每日一题——515. 在每个树行中找最大值
- ANR无响应介绍
- 2022 welder (elementary) special operation certificate examination question bank and answers
- 开通挖财账号安全吗?是靠谱的吗?
猜你喜欢

基于 Apache APISIX 的自动化运维平台

C # connect to the database to complete the operation of adding, deleting, modifying and querying

LeetCode每日一题——515. 在每个树行中找最大值

题解 Pie(POJ3122)超详细易懂的二分入门

Leetcode daily question - 515 Find the maximum value in each tree row

Data standardization processing

2022 tea master (intermediate) examination simulated 100 questions and simulated examination

学习太极创客 — MQTT 第二章(八)ESP8266 MQTT 用户密码认证

学习太极创客 — MQTT 第二章(七)ESP8266 MQTT 遗嘱应用

数据资产为王,如何解析企业数字化转型与数据资产管理的关系?
随机推荐
API gateway Apache APIs IX helps the evolution of snowball dual active architecture
GlobalSign的泛域名SSL证书
ComparisonChain-文件名排序
Bitbucket 使用 SSH 拉取仓库失败的问题
券商公司开户哪个最靠谱最安全呢
我也差点“跑路”
嵌入式中 动态阿拉伯语字符串 转换 LCD显示字符串【感谢建国雄心】
How do I download videos? Look at the super simple method!
Characters and integers
Fix the simulator that cannot be selected by flutter once
题解 Pie(POJ3122)超详细易懂的二分入门
2022 tea master (intermediate) examination simulated 100 questions and simulated examination
LeetCode每日一题——324. 摆动排序 II
openGauss内核分析之查询重写
A few lines of code can realize complex excel import and export. This tool class is really powerful!
iterator中的next()为什么要强转?
Alibaba cloud MSE full link grayscale solution practice based on Apache apisik
3. integrate listener
How to "calculate" in the age of computing power? The first mover advantage of "convergence of computing and networking" is very important!
【读书会第13期】视频文件的封装格式