From 89d3cbcda381f3ddbceea66913b7d7a62af42841 Mon Sep 17 00:00:00 2001 From: Ifaz Kabir Date: Tue, 17 Feb 2026 10:37:04 -0500 Subject: [PATCH] Fix bookmark last snapshot sync early exit --- syncoid | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/syncoid b/syncoid index 680afbe..fb8aa26 100755 --- a/syncoid +++ b/syncoid @@ -726,11 +726,8 @@ sub syncdataset { # do a normal replication if bookmarks aren't used or if previous # bookmark replication was only done to the next oldest snapshot - if (!$bookmark || $nextsnapshot) { - if ($matchingsnap eq $newsyncsnap) { - # edge case: bookmark replication used the latest snapshot - return 0; - } + # edge case: skip repilcation if bookmark replication used the latest snapshot + if ((!$bookmark || $nextsnapshot) && !($matchingsnap eq $newsyncsnap)) { ($exit, $stdout) = syncincremental($sourcehost, $sourcefs, $targethost, $targetfs, $matchingsnap, $newsyncsnap, defined($args{'no-stream'}));