23:00-ish YP thinks that perhaps pg_basebackup is being super pedantic about there being an empty data directory, decides to remove the directory. After a second or two he notices he ran it on db1.cluster.gitlab.com, instead of db2.cluster.gitlab.com Good lesson on the risks of working on a live production system late at night when you're tired and/or frustrated.
Good lesson on making command prompts on machines always tell you exactly what machine you're working on.
GitLab Database Incident – Live Report
21–30 of 621 posts
Re: GitLab Database Incident – Live Report
#22Re: GitLab Database Incident – Live Report
#23Re: GitLab Database Incident – Live Report
#24Re: GitLab Database Incident – Live Report
#25Re: GitLab Database Incident – Live Report
#2623:00-ish YP thinks that perhaps pg_basebackup is being super pedantic about there being an empty data directory, decides to remove the directory. After a second or two he notices he ran it on db1.cluster.gitlab.com, instead of db2.cluster.gitlab.com Good lesson on the risks of working on a live production system late at night when you're tired and/or frustrated.
Far, far too many companies get production going and then just check to see that certain things "completed successfully" or didn't throw an overt alert in terms of their safety nets.
Just because things seem to be working doesn't mean they are or that they are working in a way that is recoverable.
Re: GitLab Database Incident – Live Report
#27Re: GitLab Database Incident – Live Report
#28Earlier quoted context omitted.
Good lesson on making command prompts on machines always tell you exactly what machine you're working on.
I like to color code my terminal. Production systems are always red. Dev are blue/green. Staging is yellow.
Re: GitLab Database Incident – Live Report
#29Earlier quoted context omitted.
Good lesson on making command prompts on machines always tell you exactly what machine you're working on.
I like to color code my terminal. Production systems are always red. Dev are blue/green. Staging is yellow.