gitlab-ce/spec
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
..
bin
config
controllers Merge branch '20422-hide-ui-variables-by-default' into 'master' 2018-12-07 20:14:02 +00:00
db
dependencies
factories Allow public forks to be deduplicated 2018-12-07 19:18:37 +01:00
features Resolve "Navigating unresolved discussions on Merge Request page" 2018-12-08 07:19:03 +00:00
finders
fixtures Merge branch '20422-hide-ui-variables-by-default' into 'master' 2018-12-07 20:14:02 +00:00
frontend
graphql
helpers
initializers
javascripts CE Backport: Epic issue list and related issue list re-design 2018-12-08 09:58:45 +00:00
lib Restore Object Pools when restoring an object pool 2018-12-13 09:00:03 +01:00
mailers
migrations
models Merge branch 'zj-pool-repository-creation' into 'master' 2018-12-07 19:58:15 +00:00
policies
presenters
rack_servers
requests
routing
rubocop
serializers Merge remote-tracking branch 'origin/master' into 20422-hide-ui-variables-by-default 2018-12-07 13:21:43 -05:00
services Merge branch 'cert-manager-email' into 'master' 2018-12-07 20:10:15 +00:00
sidekiq/cron
support
tasks Restore Object Pools when restoring an object pool 2018-12-13 09:00:03 +01:00
uploaders
validators
views
workers Allow public forks to be deduplicated 2018-12-07 19:18:37 +01:00
factories_spec.rb
fast_spec_helper.rb
rails_helper.rb
rake_helper.rb
simplecov_env.rb
spec_helper.rb