diff options
author | Robert Speicher <robert@gitlab.com> | 2015-12-15 18:36:28 +0000 |
---|---|---|
committer | Robert Speicher <robert@gitlab.com> | 2015-12-15 18:36:28 +0000 |
commit | 28a8d0b5db104be6d01ad647aefcd92ec9ec113e (patch) | |
tree | 670077cb83fd37f0b49bc7b135f1f356a4f46309 /doc/raketasks/README.md | |
parent | 96a1558897c7628f8d49435647f052ec24a63986 (diff) | |
parent | f8bf6c4b2c5fb41ae92df09b9f968d5d5d61bb2b (diff) | |
download | gitlab-ce-28a8d0b5db104be6d01ad647aefcd92ec9ec113e.tar.gz |
Merge branch 'add_user_repo_integrity_rake_task' into 'master'
Add user repository integrity check rake task
Corrupt repositories and stuck lock files can cause weird issues in
GitLab. Often we know which user is having these problems and then we
have to go hunt down which repository is causing it. Several times
recently that involved me running queries in the rails console to get
an array of projects and then writing a quick Ruby script to loop
through and run `git fsck`. This last time I also had to check for the
existence of `config.lock` and ref lock files.
This rake task will eliminate all of those steps and allow an admin to
simply specify a username.
I also added the lock file checks to the existing `gitlab:repo:check`
task which goes through all projects.
See merge request !2080
Diffstat (limited to 'doc/raketasks/README.md')
-rw-r--r-- | doc/raketasks/README.md | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/raketasks/README.md b/doc/raketasks/README.md index a8dc5c24df2..cc8a22cd003 100644 --- a/doc/raketasks/README.md +++ b/doc/raketasks/README.md @@ -1,10 +1,11 @@ # Rake tasks - [Backup restore](backup_restore.md) +- [Check](check.md) - [Cleanup](cleanup.md) - [Features](features.md) - [Maintenance](maintenance.md) and self-checks - [User management](user_management.md) - [Web hooks](web_hooks.md) - [Import](import.md) of git repositories in bulk -- [Rebuild authorized_keys file](http://doc.gitlab.com/ce/raketasks/maintenance.html#rebuild-authorized_keys-file) task for administrators
\ No newline at end of file +- [Rebuild authorized_keys file](http://doc.gitlab.com/ce/raketasks/maintenance.html#rebuild-authorized_keys-file) task for administrators |