Skip to content

RemoveAll RPC

James Fargher requested to merge remove_all_rpc into master

#4748 (closed)

This RPC is designed to clear a storage before starting a full restore. This prevents a certain class of bug where if repositories are created after a backup is taken, then a full restore from backup takes place, gitlab can no longer creates projects. This is because restore only removes repositories that it is about to restore, and this eventually clashes with the repositories created after the backup is taken.

Eventually this RPC will be called by gitaly-backup based on a command-line flag that specifies a list of storages to remove repositories from.

Edited by James Fargher

Merge request reports