Commit 5b16f761 authored by Achilleas Pipinellis's avatar Achilleas Pipinellis

Merge branch 'add-geo-temporary-to-docs' into 'master'

Geo: Document @geo-temporary directory

Closes #5349

See merge request gitlab-org/gitlab-ee!5080
parents 2e8135d0 2c803f84
...@@ -63,7 +63,6 @@ screen. ...@@ -63,7 +63,6 @@ screen.
See `Gitlab::Geo.enabled?` and `Gitlab::Geo.license_allows?`. See `Gitlab::Geo.enabled?` and `Gitlab::Geo.license_allows?`.
## Communication ## Communication
The communication channel has changed since first iteration, you can check here The communication channel has changed since first iteration, you can check here
...@@ -128,6 +127,16 @@ Files are copied via HTTP(s) and initiated via the ...@@ -128,6 +127,16 @@ Files are copied via HTTP(s) and initiated via the
`/api/v4/geo/transfers/:type/:id` endpoint. `/api/v4/geo/transfers/:type/:id` endpoint.
## Repository transfers
Secondary Geo Nodes fetch the repositories when they are updated. If you just
enabled a secondary node and connected it to the primary, the initial backfill
will be initialized.
When we fail to fetch a repository on the secondary several times, we try to do
a clone again into the `@geo-temporary` directory in the root of the storage.
When it's successful, we replace the main repo with the newly cloned one.
### Authentication ### Authentication
To authenticate file transfers, each GeoNode has two fields: To authenticate file transfers, each GeoNode has two fields:
......
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