Skip to content

Restore Object Pools when restoring an object pool

What does this MR do?

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.

What are the relevant issue numbers?

gitaly#1355 (closed)

Does this MR meet the acceptance criteria?

Edited by Zeger-Jan van de Weg

Merge request reports