Skip to content
Snippets Groups Projects

remove-repository: A new sub-command for the praefect to remove repository (v13.12)

Merged Pavlo Strokov requested to merge ps-backport-repo-rm-sub-cmd into 13-12-stable
1 unresolved thread
4 files
+ 566
0
Compare changes
  • Side-by-side
  • Inline
Files
4
  • Users of the praefect are missing tools to manage state of the cluster.
    One of such tools is a repository removal cli. It should be used to
    remove any repository from the cluster. The removal covers cleanup of
    the database and removal from the gitaly storages. The command tries
    to remove as much as possible first by removing from praefect, replication
    event queue and each gitaly node configured in the provided config file.
    
    Part of: #3771
    
    Changelog: added
+ 1
0
@@ -33,6 +33,7 @@ var (
"dataloss": newDatalossSubcommand(),
"accept-dataloss": &acceptDatalossSubcommand{},
"set-replication-factor": newSetReplicatioFactorSubcommand(os.Stdout),
removeRepositoryCmdName: newRemoveRepository(logger),
}
)
Loading