]> git.proxmox.com Git - pve-manager.git/commit
pvesr: prepare local job: remove stale replicated volumes immediately
authorFiona Ebner <f.ebner@proxmox.com>
Mon, 13 Jun 2022 10:29:55 +0000 (12:29 +0200)
committerFabian Grünbichler <f.gruenbichler@proxmox.com>
Tue, 2 Aug 2022 09:05:06 +0000 (11:05 +0200)
commit55b1af44fd8fec28c2415a3c30a72dd8c29a5388
tree24ce710e1981b374cdb762eeff64f55d35f882a2
parente3e0e096377198d3d1306d04618a2e4a82de5b59
pvesr: prepare local job: remove stale replicated volumes immediately

Commit d8cd8e8cf9795dc9c2462a67e9ef89ad31759796 introduced a
regression where only stale replicated volumes with an older
timestamp would be cleaned up. This meant that after removing a volume
from the guest config, it would only be cleaned up the second time the
replication ran afterwards. And the volume could become completely
orphaned in case the relevant storage wasn't used by the job anymore.

Signed-off-by: Fiona Ebner <f.ebner@proxmox.com>
PVE/CLI/pvesr.pm