Gitlab is a great service and a great alternative to github and bitbucket. But it has been quite flaky over many years and it's quite surprising they haven't prioritised system stability over everything else. https://twitter.com/gitlabstatus Gitlab has been a fully remote proponent going back a few years and these persistent reliability issues add some doubt to that model - even if there might be altogether other iss…
Fully remotes has nothing to do with it. My company is full remote and we don't have these issue.
Gitlab.com was experiencing elevated error rates for Git, Web, and API
81–90 of 94 posts
Re: Gitlab.com was experiencing elevated error rates for Git, Web, and API
#82There are a set of high frequency (very frequently run queries) that are quite sensible to plan flipping (they normally run with a given execution plan; if the plan changes to a worse one, effects can be dramatic, given their frequency).
That leads to a lot of query timeouts (GitLab's database limit query execution time to prevent further damage), which are visualized as database errors. This in turn leads to partial or complete downtime (effectively, if the database is running few effective --non timed out-- traffic).
Some of these queries depend on a particular Postgres planner way of working that is less than ideal (in PG11, it is improved in PG12), and may lead to plan flipping. Which in turn, happens when table statistics degrade. In GitLab's case, they are normally close to the threshold, and slight statistics degradation caused a plan change, which in turn lead to many queries time out and excessive load on the fleet.
At the end of the day, the fix is quite simple, however: update the table statistics (running ANALYZE). For more information: https://gitlab.com/gitlab-com/gl-infra/production/-/issues/3...
Re: Gitlab.com was experiencing elevated error rates for Git, Web, and API
#83Earlier quoted context omitted.
Out of curiosity, why does your "about" page vouch for a suspended Twitter account? Is @GitLab -> @GitLabs a typo? https://about.gitlab.com/handbook/marketing/community-relati... @GitLab
Thanks! It is a typo and I submitted a fix https://gitlab.com/gitlab-com/www-gitlab-com/-/merge_request... Please note that about.gitlab.com contains all our static content, including our 10,000 page handbook. This typo isn’t on our main about page but deep in the marketing handbook.
Re: Gitlab.com was experiencing elevated error rates for Git, Web, and API
#84We switched from self-hosted to gitlab.com a couple months back and the migration has been extremely disappointing. Pushing commits often hangs completely, and we've had a number of smaller downtimes/degradations in recent weeks that have been super disruptive. Having been Gitlab users since our inception, we're now seriously considering Github (I know - grass is always greener).
Re: Gitlab.com was experiencing elevated error rates for Git, Web, and API
#85Earlier quoted context omitted.
We are using bitbucket atm and I can't fathom a reason to move, care to elaborate?
Atlassian is Australian company. Australia has very weird and wide reaching laws regarding software backdoors.
Edit: Nvm on (b); somehow I got GitLab and BitBucket mixed up as to which one belonged to Atlassian.
Still curious about what sort of backdoor laws they have.
Re: Gitlab.com was experiencing elevated error rates for Git, Web, and API
#86I can't be the only one that feels that GitLab has extended downtime at least weekly, sometimes bi-weekly.
I use gitlab daily and have not experienced any outage in last 6 months probably.
Re: Gitlab.com was experiencing elevated error rates for Git, Web, and API
#87Earlier quoted context omitted.
Atlassian is Australian company. Australia has very weird and wide reaching laws regarding software backdoors.
Can you elaborate on a) what kinds of laws on software backdoors? (Mandating them? Forbidding them? What sort?), and b) how that affects the GP's request? Edit: Nvm on (b); somehow I got GitLab and BitBucket mixed up as to which one belonged to Atlassian. Still curious about what sort of backdoor laws they have.
EDIT: I've done some more reading up on this, and The Assistance and Access Act of 2018 explicitly states that government cannot use backdoors: https://www.homeaffairs.gov.au/about-us/our-portfolios/natio...
Re: Gitlab.com was experiencing elevated error rates for Git, Web, and API
#88For those curious: the root cause for the incident is, ultimately, degraded statistics on a table. There are a set of high frequency (very frequently run queries) that are quite sensible to plan flipping (they normally run with a given execution plan; if the plan changes to a worse one, effects can be dramatic, given their frequency). That leads to a lot of query timeouts (GitLab's database limit query execution time…
Would this be a place where a plan hint would help? It seems like having to re-analyze would mean that this is just a matter of time before it becomes problematic again.
Re: Gitlab.com was experiencing elevated error rates for Git, Web, and API
#89For those curious: the root cause for the incident is, ultimately, degraded statistics on a table. There are a set of high frequency (very frequently run queries) that are quite sensible to plan flipping (they normally run with a given execution plan; if the plan changes to a worse one, effects can be dramatic, given their frequency). That leads to a lot of query timeouts (GitLab's database limit query execution time…
s/sensible/sensitive/ Would this be a place where a plan hint would help? It seems like having to re-analyze would mean that this is just a matter of time before it becomes problematic again.
Thanks :)
> Would this be a place where a plan hint would help?
It is one option to consider (I wrote about it last week: https://gitlab.com/gitlab-com/gl-infra/production/-/issues/3...), but it is not an ideal solution, for several reasons.
Re-analyze is not the solution either, but as a short-term measure, cron-ed ANALYZEs will be run. Longer term, apart from refactoring some queries which are quite prone to trigger this plan behavior, statistics gathering process is going to be fully reviewed.
Re: Gitlab.com was experiencing elevated error rates for Git, Web, and API
#90I love Gitlab because I love open source and competition but Gitlab either on-prem or gitlab.com has been having growing pains ever since I started using it around 2015. And it seems to be related to scaling because it's always iffy problems like higher error rates or jobs not executing. Either way, I love our on-prem Gitlab. It's free and it hosts over 200 projects, Gitops and the whole shebang. I'm just now beginni…