• Zeger-Jan van de Weg's avatar
    Restore Object Pools when restoring an object pool · 89a407dc
    Zeger-Jan van de Weg authored
    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 gitlab-org/gitaly#1355
    89a407dc
Name
Last commit
Last update
..
artifacts.rb Loading commit data...
builds.rb Loading commit data...
database.rb Loading commit data...
files.rb Loading commit data...
helper.rb Loading commit data...
lfs.rb Loading commit data...
manager.rb Loading commit data...
pages.rb Loading commit data...
registry.rb Loading commit data...
repository.rb Loading commit data...
uploads.rb Loading commit data...