]> git.proxmox.com Git - pve-guest-common.git/commit
partially fix #3111: further improve removing replication snapshots
authorFabian Ebner <f.ebner@proxmox.com>
Thu, 12 Aug 2021 11:01:07 +0000 (13:01 +0200)
committerFabian Grünbichler <f.gruenbichler@proxmox.com>
Mon, 8 Nov 2021 09:34:00 +0000 (10:34 +0100)
commit45c0b7554c9ab8b89e1a53dfaa8ba56f3cd62952
tree51cc2a8896bd03e8015afe656e5f85ceddff892f
parenta9bc9b3c890072af0f24ca5c27da373bb31b5d25
partially fix #3111: further improve removing replication snapshots

by using the new $blocker parameter. No longer remove all replication
snapshots from affected volumes unconditionally, but check first if
all blocking snapshots are replication snapshots. If they are, remove
them and proceed with rollback. If they are not, die without removing
any.

For backwards compatibility, it's still necessary to remove all
replication snapshots if $blockers is not available.

Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
src/PVE/AbstractConfig.pm
src/PVE/Replication.pm