Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
c1554014
Commit
c1554014
authored
Nov 21, 2017
by
Nick Thomas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Document a failure mode for large repositories in Geo
parent
39e52710
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
26 additions
and
0 deletions
+26
-0
changelogs/unreleased-ee/39977-git-timeout-for-geo-doc.yml
changelogs/unreleased-ee/39977-git-timeout-for-geo-doc.yml
+5
-0
doc/gitlab-geo/troubleshooting.md
doc/gitlab-geo/troubleshooting.md
+21
-0
No files found.
changelogs/unreleased-ee/39977-git-timeout-for-geo-doc.yml
0 → 100644
View file @
c1554014
---
title
:
Document a failure mode for large repositories in Geo
merge_request
:
3500
author
:
type
:
other
doc/gitlab-geo/troubleshooting.md
View file @
c1554014
...
...
@@ -65,6 +65,27 @@ where you have to fix (all commands and path locations are for Omnibus installs)
secondary by that name. You may want to rerun the
[
replication
process
](
database.md
)
on the secondary.
-
Very large repositories never successfully synchronize on the secondary.
-
GitLab places a timeout on all repository clones, including project imports
and Geo synchronization operations. If a fresh
`git clone`
of a repository
on the primary takes more than a few minutes, you may be affected by this.
To increase the timeout, add the following line to
`/etc/gitlab/gitlab.rb`
on the secondary:
```ruby
gitlab_rails['gitlab_shell_git_timeout'] = 10800
```
Then reconfigure GitLab:
```
sudo gitlab-ctl reconfigure
```
This will increase the timeout to three hours (10800 seconds). Choose a time
long enough to accomodate a full clone of your largest repositories.
Visit the primary node's
**Admin Area ➔ Geo Nodes**
(
`/admin/geo_nodes`
) in
your browser. We perform the following health checks on each secondary node
to help identify if something is wrong:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment