RepositoryService.FetchBundle: initial implementation
This is the method used by gitaly-backup
for restoration, full or incremental.
Incrementality is provided simply by the fact that it creates the repository only if needed. In other words, there isn't much to it in the restoration process, all the logic is in the creation of partial bundles (based themselves on the ref files that are parts backups, thanks to CreateBundleFromRefList
).
Merge request reports
Activity
added 14 commits
-
cd30029e...085ab8ff - 2 commits from branch
branch/default
- 3ee521100b78 - repository: new unbundle() helper
- dd8735118a58 - errors: introduced ServiceError to enable exception-based treatment
- b11cebfcdae1 - RepositoryService.CreateRepositoryFromBundle: prepare for exceptions-style
- 7ff9c0717404 - RepositoryService: switch creation methods to exception style
- d8f2bd6c5232 - RepositoryService.hg_init_repository: absorb creation path resolution
- dcf244d0406d - RepositoryService.CreateRepositoryFromBundle: split handling of data stream
- 88dee387479d - Repository.CreateRepositoryFromBundle tests: added edge case
- 9f9ba9934a35 - RepositoryService.CreateRepositoryFromBundle: cleanup after error
- dbea8acfb96b - stream: adopted binary file slicing method from tests
- eb1da3535cb0 - RepositoryService tests: extracted method for repos comparisons.
- 2f0ab680bf29 - ServiceFixture: new helper method to track additional repo
- 0f38ce3f894f - RepositoryService.FetchBundle: initial implementation
Toggle commit list-
cd30029e...085ab8ff - 2 commits from branch
added 11 commits
- 822e99912a52 - errors: introduced ServiceError to enable exception-based treatment
- ca6e40b7d054 - RepositoryService.CreateRepositoryFromBundle: prepare for exceptions-style
- 96a48743f362 - RepositoryService: switch creation methods to exception style
- d7138f4d400c - RepositoryService.hg_init_repository: absorb creation path resolution
- 832cbfae47cd - RepositoryService.CreateRepositoryFromBundle: split handling of data stream
- b8727a8625b7 - CreateRepositoryFromBundle Gitaly comparison tests: added edge case
- a3b3e4944a45 - RepositoryService.CreateRepositoryFromBundle: cleanup after error
- ebff5a3c0ed2 - stream: adopted binary file slicing method from tests
- 96e9e602c85d - RepositoryService tests: extracted method for repos comparisons.
- 2d9db0788969 - ServiceFixture: new helper method to track additional repo
- f904b47fc5ab - RepositoryService.FetchBundle: initial implementation
Toggle commit listenabled an automatic merge when the pipeline for f904b47fc5ab succeeds
Please register or sign in to reply