Earlier quoted context omitted.
It seems to me that, as a customer, it is blame-shifting away from the company to a particular person. Blameless post-mortems are great, but when speaking to people outside the company I think it is important to own it collectively, "after a second or two we notice we ran it on db1.cluster.gitlab.com, instead of db2.cluster.gitlab.com." I believe this isn't your intention, but that is how I interpreted it.
We are all responsible for this, starting with me. We don't blame any person. References to people are just to determine what happend. Also see https://twitter.com/sytses/status/826598260831842308
GitLab Database Incident – Live Report
391–400 of 621 posts
Re: GitLab Database Incident – Live Report
#392Tell me if I misunderstood something. I hope the customer I met last week does not remember I ever recommended GitLab to him.
Re: GitLab Database Incident – Live Report
#393Earlier quoted context omitted.
You shouldn't let yourself get to that point. Your alerting system should alert you when disk is at 70% or something with a ton of margin. If it's not set up that way, go stop what you're doing and fix that. (Seriously.) If you're running your systems so they usually run at 90% disk usage, go give them more disk (or rotate logs sooner). And even assuming all that fails and I'm in that situation where I have seconds u…
> You shouldn't let yourself get to that point. Your alerting system should alert you when disk is at 70% or something with a ton of margin. What would your recommendation be?
Re: GitLab Database Incident – Live Report
#394Re: GitLab Database Incident – Live Report
#395Earlier quoted context omitted.
Perhaps, Do you really want to delete the dir XYZ with 300000000000 bytes in it?
The problem in this case was that YP confused the host. YP thought he was operating in db2 (the host that went out of sync) and not db1 (the host that held the data), a message that doesn't display the current host wouldn't help in this case.
It lead to a "Very Bad Day". I found out about it after reading the post mortem.
Re: GitLab Database Incident – Live Report
#396Re: GitLab Database Incident – Live Report
#397I managed to get the data back though, as Oracle was still running and had the files open. "lsof | grep '(deleted)'" and /proc//fd/* saved my life. I managed to stop all connections to the database, copy all the (deleted) files into a temp directory, stop Oracle, copy the files to their rightful place, and start up Oracle, with no data lost.
Re: GitLab Database Incident – Live Report
#398Earlier quoted context omitted.
We have 2 people on rotation and anything like this you pair with someone else and talk through it. As we like to say "It's only a mistake if we both make it."
Absolutely. Same goes for any ops response. You need two people: one to triage the issue and another one to communicate with external stakeholders and to help the one doing the triage. The military does a very similar thing. An Army company commander usually has a RTO (radiotelephone operator) to handle taking on the radio. This frees the commander to make real-time decisions and response quickly to the situation on…
Another thing to note, is that the RTO will occasionally state someone and "ACTUAL". That means that whomever they are speaking for is actually speaking and not the RTO on behalf of the CO.