• 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 https://gitlab.com/gitlab-org/gitaly/issues/1355
    89a407dc
zj-backup-restore-object-pools.yml 103 Bytes