Commit 2d808d84 authored by Evan Read's avatar Evan Read

Merge branch 'rnienaber-8053-hashed-storage' into 'master'

Making hashed storage a requirement of Geo

Closes #8053

See merge request gitlab-org/gitlab-ee!8133
parents 2c208c6c 6ccdb6d4
...@@ -205,7 +205,7 @@ that the secondary can act on those notifications immediately. ...@@ -205,7 +205,7 @@ that the secondary can act on those notifications immediately.
Make sure the secondary instance is running and accessible. Make sure the secondary instance is running and accessible.
You can login to the secondary node with the same credentials as used in the primary. You can login to the secondary node with the same credentials as used in the primary.
### Step 4. (Optional) Enabling hashed storage (from GitLab 10.0) ### Step 4. Enabling hashed storage (from GitLab 10.0)
CAUTION: **Warning**: CAUTION: **Warning**:
Hashed storage is in **Beta**. It is not considered production-ready. See Hashed storage is in **Beta**. It is not considered production-ready. See
......
...@@ -125,7 +125,7 @@ that the secondary can act on those notifications immediately. ...@@ -125,7 +125,7 @@ that the secondary can act on those notifications immediately.
Make sure the secondary instance is running and accessible. Make sure the secondary instance is running and accessible.
You can login to the secondary node with the same credentials as used in the primary. You can login to the secondary node with the same credentials as used in the primary.
### Step 4. (Optional) Enabling hashed storage (from GitLab 10.0) ### Step 4. Enabling hashed storage (from GitLab 10.0)
Read [Enabling Hashed Storage][configuration-hashed-storage] Read [Enabling Hashed Storage][configuration-hashed-storage]
......
...@@ -29,19 +29,18 @@ Any change in the URL will need to be reflected on disk (when groups / users or ...@@ -29,19 +29,18 @@ Any change in the URL will need to be reflected on disk (when groups / users or
projects are renamed). This can add a lot of load in big installations, projects are renamed). This can add a lot of load in big installations,
especially if using any type of network based filesystem. especially if using any type of network based filesystem.
CAUTION: **Caution:**
For Geo in particular: Geo does work with legacy storage, but in some For Geo in particular: Geo does work with legacy storage, but in some
edge cases due to race conditions it can lead to errors when a project is edge cases due to race conditions it can lead to errors when a project is
renamed multiple times in short succession, or a project is deleted and renamed multiple times in short succession, or a project is deleted and
recreated under the same name very quickly. We expect these race events to be recreated under the same name very quickly. We expect these race events to be
rare, and we have not observed a race condition side-effect happening yet. rare, and we have not observed a race condition side-effect happening yet.
This pattern also exists in other objects stored in GitLab, like issue This pattern also exists in other objects stored in GitLab, like issue
Attachments, GitLab Pages artifacts, Docker Containers for the integrated Attachments, GitLab Pages artifacts, Docker Containers for the integrated
Registry, etc. Registry, etc. Hashed storage is a requirement for Geo.
## Hashed Storage ## Hashed Storage
Hashed Storage is the new storage behavior we rolled out with 10.0. Instead Hashed Storage is the new storage behavior we rolled out with 10.0. Instead
of coupling project URL and the folder structure where the repository will be of coupling project URL and the folder structure where the repository will be
stored on disk, we are coupling a hash, based on the project's ID. This makes stored on disk, we are coupling a hash, based on the project's ID. This makes
......
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