Commit f99be990 authored by Evan Read's avatar Evan Read

Merge branch 'master' into 'master'

Fix Vale issues for update/index.md

See merge request gitlab-org/gitlab!70888
parents cf1cf452 c0d15668
...@@ -136,9 +136,9 @@ pending_job_classes.each { |job_class| Gitlab::BackgroundMigration.steal(job_cla ...@@ -136,9 +136,9 @@ pending_job_classes.each { |job_class| Gitlab::BackgroundMigration.steal(job_cla
## Dealing with running CI/CD pipelines and jobs ## Dealing with running CI/CD pipelines and jobs
If you upgrade your GitLab instance while the GitLab Runner is processing jobs, the trace updates will fail. Once GitLab is back online, then the trace updates should self-heal. However, depending on the error, the GitLab Runner will either retry or eventually terminate job handling. If you upgrade your GitLab instance while the GitLab Runner is processing jobs, the trace updates fail. When GitLab is back online, the trace updates should self-heal. However, depending on the error, the GitLab Runner either retries or eventually terminates job handling.
As for the artifacts, the GitLab Runner will attempt to upload them three times, after which the job will eventually fail. As for the artifacts, the GitLab Runner attempts to upload them three times, after which the job eventually fails.
To address the above two scenario's, it is advised to do the following prior to upgrading: To address the above two scenario's, it is advised to do the following prior to upgrading:
...@@ -206,7 +206,7 @@ upgrade paths. ...@@ -206,7 +206,7 @@ upgrade paths.
Upgrading the *major* version requires more attention. Upgrading the *major* version requires more attention.
Backward-incompatible changes and migrations are reserved for major versions. Backward-incompatible changes and migrations are reserved for major versions.
Follow the directions carefully as we Follow the directions carefully as we
cannot guarantee that upgrading between major versions will be seamless. cannot guarantee that upgrading between major versions is seamless.
It is required to follow the following upgrade steps to ensure a successful *major* version upgrade: It is required to follow the following upgrade steps to ensure a successful *major* version upgrade:
...@@ -402,7 +402,7 @@ Git 2.31.x and later is required. We recommend you use the ...@@ -402,7 +402,7 @@ Git 2.31.x and later is required. We recommend you use the
### 13.9.0 ### 13.9.0
We've detected an issue [with a column rename](https://gitlab.com/gitlab-org/gitlab/-/issues/324160) We've detected an issue [with a column rename](https://gitlab.com/gitlab-org/gitlab/-/issues/324160)
that will prevent upgrades to GitLab 13.9.0, 13.9.1, 13.9.2 and 13.9.3 when following the zero-downtime steps. It is necessary that prevents upgrades to GitLab 13.9.0, 13.9.1, 13.9.2, and 13.9.3 when following the zero-downtime steps. It is necessary
to perform the following additional steps for the zero-downtime upgrade: to perform the following additional steps for the zero-downtime upgrade:
1. Before running the final `sudo gitlab-rake db:migrate` command on the deploy node, 1. Before running the final `sudo gitlab-rake db:migrate` command on the deploy node,
...@@ -423,7 +423,7 @@ to perform the following additional steps for the zero-downtime upgrade: ...@@ -423,7 +423,7 @@ to perform the following additional steps for the zero-downtime upgrade:
``` ```
If you have already run the final `sudo gitlab-rake db:migrate` command on the deploy node and have If you have already run the final `sudo gitlab-rake db:migrate` command on the deploy node and have
encountered the [column rename issue](https://gitlab.com/gitlab-org/gitlab/-/issues/324160), you will encountered the [column rename issue](https://gitlab.com/gitlab-org/gitlab/-/issues/324160), you
see the following error: see the following error:
```shell ```shell
......
...@@ -22,7 +22,7 @@ All Geo sites have the following settings: ...@@ -22,7 +22,7 @@ All Geo sites have the following settings:
| Setting | Description | | Setting | Description |
| --------| ----------- | | --------| ----------- |
| Primary | This marks a Geo site as **primary** site. There can be only one **primary** site. | | Primary | This marks a Geo site as **primary** site. There can be only one **primary** site. |
| Name | The unique identifier for the Geo site. It's highly recommended to use a physical location as a name. Good examples are "London Office" or "us-east-1". Avoid words like "primary", "secondary", "Geo", or "DR". This makes the failover process easier because the physical location does not change, but the Geo site role can. All nodes in a single Geo site use the same site name. Nodes use the `gitlab_rails['geo_node_name']` setting in `/etc/gitlab/gitlab.rb` to lookup their Geo site record in the PostgreSQL database. If `gitlab_rails['geo_node_name']` is not set, then the node's `external_url` with trailing slash is used as fallback. The value of `Name` is case-sensitive, and most characters are allowed. | | Name | The unique identifier for the Geo site. It's highly recommended to use a physical location as a name. Good examples are "London Office" or "us-east-1". Avoid words like "primary", "secondary", "Geo", or "DR". This makes the failover process easier because the physical location does not change, but the Geo site role can. All nodes in a single Geo site use the same site name. Nodes use the `gitlab_rails['geo_node_name']` setting in `/etc/gitlab/gitlab.rb` to lookup their Geo site record in the PostgreSQL database. If `gitlab_rails['geo_node_name']` is not set, the node's `external_url` with trailing slash is used as fallback. The value of `Name` is case-sensitive, and most characters are allowed. |
| URL | The instance's user-facing URL. | | URL | The instance's user-facing URL. |
The site you're currently browsing is indicated with a blue `Current` label, and The site you're currently browsing is indicated with a blue `Current` label, and
...@@ -35,32 +35,32 @@ the **primary** node is listed first as `Primary site`. ...@@ -35,32 +35,32 @@ the **primary** node is listed first as `Primary site`.
| Setting | Description | | Setting | Description |
|---------------------------|-------------| |---------------------------|-------------|
| Selective synchronization | Enable Geo [selective sync](../../administration/geo/replication/configuration.md#selective-synchronization) for this **secondary** site. | | Selective synchronization | Enable Geo [selective sync](../../administration/geo/replication/configuration.md#selective-synchronization) for this **secondary** site. |
| Repository sync capacity | Number of concurrent requests this **secondary** site will make to the **primary** site when backfilling repositories. | | Repository sync capacity | Number of concurrent requests this **secondary** site makes to the **primary** site when backfilling repositories. |
| File sync capacity | Number of concurrent requests this **secondary** site will make to the **primary** site when backfilling files. | | File sync capacity | Number of concurrent requests this **secondary** site makes to the **primary** site when backfilling files. |
## Geo backfill ## Geo backfill
**Secondary** sites are notified of changes to repositories and files by the **primary** site, **Secondary** sites are notified of changes to repositories and files by the **primary** site,
and will always attempt to synchronize those changes as quickly as possible. and always attempt to synchronize those changes as quickly as possible.
Backfill is the act of populating the **secondary** site with repositories and files that Backfill is the act of populating the **secondary** site with repositories and files that
existed *before* the **secondary** site was added to the database. Since there may be existed *before* the **secondary** site was added to the database. Because there may be
extremely large numbers of repositories and files, it's infeasible to attempt to extremely large numbers of repositories and files, it's not feasible to attempt to
download them all at once, so GitLab places an upper limit on the concurrency of download them all at once; so, GitLab places an upper limit on the concurrency of
these operations. these operations.
How long the backfill takes is a function of the maximum concurrency, but higher How long the backfill takes is dependent on the maximum concurrency, but higher
values place more strain on the **primary** site. From [GitLab 10.2](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/3107), values place more strain on the **primary** site. From [GitLab 10.2](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/3107),
the limits are configurable. If your **primary** site has lots of surplus capacity, the limits are configurable. If your **primary** site has lots of surplus capacity,
you can increase the values to complete backfill in a shorter time. If it's you can increase the values to complete backfill in a shorter time. If it's
under heavy load and backfill is reducing its availability for normal requests, under heavy load and backfill reduces its availability for normal requests,
you can decrease them. you can decrease them.
## Using a different URL for synchronization ## Using a different URL for synchronization
The **primary** site's Internal URL is used by **secondary** sites to contact it The **primary** site's Internal URL is used by **secondary** sites to contact it
(to sync repositories, for example). The name Internal URL distinguishes it from (to sync repositories, for example). The name Internal URL distinguishes it from
[External URL](https://docs.gitlab.com/omnibus/settings/configuration.html#configuring-the-external-url-for-gitlab) [External URL](https://docs.gitlab.com/omnibus/settings/configuration.html#configuring-the-external-url-for-gitlab),
which is used by users. Internal URL does not need to be a private address. which is used by users. Internal URL does not need to be a private address.
Internal URL defaults to external URL, but you can also customize it: Internal URL defaults to external URL, but you can also customize it:
...@@ -79,21 +79,21 @@ terminated at the load balancer. ...@@ -79,21 +79,21 @@ terminated at the load balancer.
WARNING: WARNING:
Starting with GitLab 13.3 and [until 13.11](https://gitlab.com/gitlab-org/gitlab/-/issues/325522), Starting with GitLab 13.3 and [until 13.11](https://gitlab.com/gitlab-org/gitlab/-/issues/325522),
using an internal URL that is not accessible to the users will result in the if you use an internal URL that is not accessible to the users, the
OAuth authorization flow not working properly, as the users will get redirected OAuth authorization flow does not work properly, because users are redirected
to the internal URL instead of the external one. to the internal URL instead of the external one.
## Multiple secondary sites behind a load balancer ## Multiple secondary sites behind a load balancer
In GitLab 11.11, **secondary** sites can use identical external URLs as long as In GitLab 11.11, **secondary** sites can use identical external URLs if
a unique `name` is set for each Geo site. The `gitlab.rb` setting a unique `name` is set for each Geo site. The `gitlab.rb` setting
`gitlab_rails['geo_node_name']` must: `gitlab_rails['geo_node_name']` must:
- Be set for each GitLab instance that runs `puma`, `sidekiq`, or `geo_logcursor`. - Be set for each GitLab instance that runs `puma`, `sidekiq`, or `geo_logcursor`.
- Match a Geo site name. - Match a Geo site name.
The load balancer must use sticky sessions in order to avoid authentication The load balancer must use sticky sessions to avoid authentication
failures and cross site request errors. failures and cross-site request errors.
<!-- ## Troubleshooting <!-- ## Troubleshooting
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment