GitLab Database Incident – Live Report
51–60 of 621 posts
Re: GitLab Database Incident – Live Report
#52I noticed the issue when I was pushing code earlier today. Hopefully this gets resolved soon. You guys are doing a great job. Keep up the good work!
Re: GitLab Database Incident – Live Report
#53Seems like very basic mistakes were made, not at the event but way long before. If you don't test to restore your backups, you don't have a backup. How does it go unnoticed that S3 backups don't work for so long?
Virtually the only way to lose data is to not have backups. We live in such fancy times that there's no reason to ever lose data that you care about.
Re: GitLab Database Incident – Live Report
#54Seems like very basic mistakes were made, not at the event but way long before. If you don't test to restore your backups, you don't have a backup. How does it go unnoticed that S3 backups don't work for so long?
My uneducated guess (this one hit a friend of mine): expired/revoked AWS credentials combined with a backup script that doesn't exit(1) on failure and just writes the exception trace to stderr.
Re: GitLab Database Incident – Live Report
#55Not sure if the doc here is refreshing or scary. But Godspeed GitLab team. I've loved the product for about two years now, so curious to see how this plays out.
It's both. I very much appreciate their forthrightness and the way they conduct their company generally. Having said that, I have the code I work on, related content, and a number of clients on the service. [edit for additional point] They need the infrastructure guy they've been looking for sooner than later. I hope there's good progress on that front.
Re: GitLab Database Incident – Live Report
#56Earlier quoted context omitted.
Good lesson on making command prompts on machines always tell you exactly what machine you're working on.
This doesn't really help if there are multiple production databases. It could be sharded, replicated, multi-tenant, etc.
I daresay - having hostname as part of prompt saves lot of trouble.
Re: GitLab Database Incident – Live Report
#57This is painful to read. It's easy to say that they they should have tested their backups better, and so on, but there is another lesson here, one that's far more important and easily missed. When doing something really critical (such as playing with the master database late at night) ALWAYS work with a checklist. Write down WHAT you are going to do, and if possible, talk to a coworker about it so you can vocalize th…
Re: GitLab Database Incident – Live Report
#58Re: GitLab Database Incident – Live Report
#59Re: GitLab Database Incident – Live Report
#60Earlier quoted context omitted.
I like to color code my terminal. Production systems are always red. Dev are blue/green. Staging is yellow.
All of my non-production machines have emojis in PS1 somewhere. It sounds ridiculous, but I know that if I see a cheeseburger or a burrito I'm not about to completely mess everything up. Silly terminal = silly data that I can obliterate.