2018-06-14 15:32, I mistakenly deleted the table of the MongoDB cluster on the line.
Ok,mongobooster is a stop button. Click Stop to Help. But, can not stop at all, every refresh will see the form in 1M decreasing speed, every refresh once dizziness will aggravate the mind of the rapid thinking solution
Course:
1. Find ops and take backup. Looking for a long time unexpectedly did not have a recent backup, the most recent is the beginning of May, my God, I quickly fell to the ground.
2. The collection of MongoDB is file storage, then the original file is found on the operation disk, and the 400 multi-G disk takes half an hour to retrieve. This half an hour, watching the anomaly is increasing, crashing, every second is uncomfortable
3. I want to solve this time, dare not speak with the upper class. But in the end, I had the courage to face it, to find a solution, fortunately, the table's data can be pieced together from other tables, then write the tool to retrieve other tables take the data table
4. Do together at both ends, where files are not recovered, various Google solutions, but there is no plan to restore the MongoDB table data, uncomfortable, and quickly write tools.
5. Write a good tool, simple estimation of time, due to the large amount of table data retrieved. It takes 9 hours, in case of a little moth, my god, I can't.
6. Calm down, optimize the code together, and finally complete the new tool, the estimated time is about 1 hours and half an hour or so to spit half a tone.
7. Staring at the program, fortunately stable execution generates a new table. Resolve some of the errors on the MQ line ended around 2018-06-14 19:00.
These hours of stress, wow, can't say uncomfortable, despair is the best description.
Amen, Buddha bless. Don't do it again. Dragon Boat Festival go to the temple.
No backup of MongoDB 18 million data sheet on mistakenly deleted line