gitlab-org--gitlab-foss/spec/tasks/gitlab
Zeger-Jan van de Weg 89a407dc3b
Restore Object Pools when restoring an object pool
Pool repositories are persisted in the database, and when the DB is
restored, the data need to be restored on disk. This is done by
resetting the state machine and rescheduling the object pool creation.

This is not an exact replica of the state like at the time of the
creation of the backup. However, the data is consistent again.

Dumping isn't required as internally GitLab uses git bundles which
bundle all refs and include all objects in the bundle that they require,
reduplicating as more repositories get backed up. This does require more
data to be stored.

Fixes https://gitlab.com/gitlab-org/gitaly/issues/1355
2018-12-13 09:00:03 +01:00
..
artifacts fix the failing specs 2018-03-22 14:37:47 -04:00
lfs [cherry-pick] '4862-verify-file-checksums' 2018-03-08 10:20:40 -05:00
uploads Enhance performance of counting local Uploads 2018-11-07 11:29:31 +01:00
backup_rake_spec.rb Restore Object Pools when restoring an object pool 2018-12-13 09:00:03 +01:00
check_rake_spec.rb Extract system check rake task logic 2018-12-03 13:51:46 -08:00
cleanup_rake_spec.rb Port cleanup tasks to use Gitaly 2018-09-07 13:58:31 +02:00
db_rake_spec.rb Fix the schema load test 2018-09-12 15:55:26 -07:00
git_rake_spec.rb Remove git rake tasks 2018-07-31 14:31:50 +02:00
gitaly_rake_spec.rb Remove storage path dependency of gitaly install task 2018-08-12 18:52:44 -03:00
info_rake_spec.rb
ldap_rake_spec.rb
mail_google_schema_whitelisting.rb
shell_rake_spec.rb Find and mark more Git disk access locations, part 2 2018-06-12 14:33:37 +02:00
storage_rake_spec.rb Resolve "Hashed Storage: Make possible to migrate single project" 2018-06-07 15:40:44 +00:00
task_helpers_spec.rb
traces_rake_spec.rb Add rake command to migrate archived traces from local storage to object storage 2018-08-16 14:28:47 +00:00
web_hook_rake_spec.rb Fix gitlab:web_hook tasks 2018-12-06 18:37:05 +00:00
workhorse_rake_spec.rb