summaryrefslogtreecommitdiff
path: root/doc/administration
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2019-07-01 08:04:57 +0000
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2019-07-01 08:04:57 +0000
commitf63dc06cb4572db92bb91c936e9862c55f1f365e (patch)
tree6efbba0d2d30173605f5551eb277822df24a64d7 /doc/administration
parentbc3ffe835436a32ed46c39e385856cc6fc15db25 (diff)
parentdabd91b2c8a42ac0d0c357190002a5a4b96a57a6 (diff)
downloadgitlab-ce-f63dc06cb4572db92bb91c936e9862c55f1f365e.tar.gz
Merge branch 'tc-rake-orphan-artifacts' into 'master'
Add rake task to clean orphan artifact files See merge request gitlab-org/gitlab-ce!29681
Diffstat (limited to 'doc/administration')
-rw-r--r--doc/administration/geo/replication/troubleshooting.md9
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/administration/geo/replication/troubleshooting.md b/doc/administration/geo/replication/troubleshooting.md
index 5394e6dd763..5bd6cc81362 100644
--- a/doc/administration/geo/replication/troubleshooting.md
+++ b/doc/administration/geo/replication/troubleshooting.md
@@ -504,6 +504,15 @@ To resolve this, run the following command:
sudo gitlab-rake geo:db:refresh_foreign_tables
```
+## Expired artifacts
+
+If you notice for some reason there are more artifacts on the Geo
+secondary node than on the Geo primary node, you can use the rake task
+to [cleanup orphan artifact files](../../../raketasks/cleanup.md#remove-orphan-artifact-files).
+
+On a Geo **secondary** node, this command will also clean up all Geo
+registry record related to the orphan files on disk.
+
## Fixing common errors
This section documents common errors reported in the Admin UI and how to fix them.