mirror of
git://git.proxmox.com/git/pve-guest-common.git
synced 2024-12-24 21:34:13 +03:00
replication: purge states: verify the vmlist
Instead of clearing out the local state if the last cfs_update failed. Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
parent
aa0d516fc5
commit
81228d280f
@ -197,6 +197,7 @@ sub purge_old_states {
|
||||
my $local_node = PVE::INotify::nodename();
|
||||
|
||||
my $cfg = PVE::ReplicationConfig->new();
|
||||
PVE::Cluster::cfs_update(1); # fail if we cannot query the vm list
|
||||
my $vms = PVE::Cluster::get_vmlist();
|
||||
|
||||
my $used_tids = {};
|
||||
|
Loading…
Reference in New Issue
Block a user