gitlab-org--gitlab-foss/spec/lib/backup
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
..
files_spec.rb
manager_spec.rb Enable frozen string in lib/api and lib/backup 2018-09-29 21:04:50 -07:00
repository_spec.rb Restore Object Pools when restoring an object pool 2018-12-13 09:00:03 +01:00