Commit a1dfeff3a8502544123245ea61ad62cbe97803b7 changed the behavior
for Replication::prepare with last_sync=0, so use last_sync=1 instead.

Signed-off-by: Fabian Ebner <f.eb...@proxmox.com>
---

This is not related to the locking issues.

 PVE/AbstractConfig.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/PVE/AbstractConfig.pm b/PVE/AbstractConfig.pm
index 70311df..eefeeb9 100644
--- a/PVE/AbstractConfig.pm
+++ b/PVE/AbstractConfig.pm
@@ -948,7 +948,7 @@ sub snapshot_rollback {
 
                # remove all local replication snapshots (jobid => undef)
                my $logfunc = sub { my $line = shift; chomp $line; print 
"$line\n"; };
-               PVE::Replication::prepare($storecfg, $sorted_volids, undef, 0, 
undef, $logfunc);
+               PVE::Replication::prepare($storecfg, $sorted_volids, undef, 1, 
undef, $logfunc);
            }
 
            $class->foreach_volume($snap, sub {
-- 
2.20.1


_______________________________________________
pve-devel mailing list
pve-devel@pve.proxmox.com
https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to