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
ea23f998
Commit
ea23f998
authored
May 10, 2018
by
Gabriel Mazetto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Document `geo:git:housekeeping:*` rake tasks
parent
8cb203ac
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
57 additions
and
0 deletions
+57
-0
doc/administration/raketasks/geo.md
doc/administration/raketasks/geo.md
+57
-0
No files found.
doc/administration/raketasks/geo.md
0 → 100644
View file @
ea23f998
# Geo Rake Tasks
## Git housekeeping
There are few tasks you can run to schedule a git housekeeping to start at the
next repository sync in a
**Secondary node**
:
### Incremental Repack
This is equivalent of running
`git repack -d`
on a _bare_ repository.
**Omnibus Installation**
```
sudo gitlab-rake geo:git:housekeeping:incremental_repack
```
**Source Installation**
```
bash
sudo
-u
git
-H
bundle
exec
rake geo:git:housekeeping:incremental_repack
RAILS_ENV
=
production
```
### Full Repack
This is equivalent of running
`git repack -d -A --pack-kept-objects`
on a
_bare_
repository which will optionally, write a reachability bitmap index
when this is enabled in GitLab.
**Omnibus Installation**
```
sudo gitlab-rake geo:git:housekeeping:full_repack
```
**Source Installation**
```
bash
sudo
-u
git
-H
bundle
exec
rake geo:git:housekeeping:full_repack
RAILS_ENV
=
production
```
### GC
This is equivalent of running
`git gc`
on a _bare_ repository, optionally writing
a reachability bitmap index when this is enabled in GitLab.
**Omnibus Installation**
```
sudo gitlab-rake geo:git:housekeeping:gc
```
**Source Installation**
```
bash
sudo
-u
git
-H
bundle
exec
rake geo:git:housekeeping:gc
RAILS_ENV
=
production
```
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