We have two servers, one of them has TrueNAS-13.0-U4 and the other Ubuntu with OpenZFS (zfs-2.1.5-1ubuntu6~22.04.1, zfs-kmod-2.1.9-2ubuntu1.1).
On the TrueNAS side I’ve set four Periodic Snapshot Tasks (twohourly/daily/weekly/monthly) and three (for daily/weekly/monthly) Replication Tasks per datasets, the snapshots are created and replicated to the OpenZFS side correctly and cleaned up correctly on the OpenZFS side.
The problem is that on the TrueNAS side the daily snapshots are not cleaned up.
The ‘Save Pending Snapshots’ is checked, so as I understand the snapshots should not be deleted if they aren’t replicated to the OpenZFS side 'till the end of the snapshot’s lifetime; but in the reality they are correctly replicated.
Also the weekly and monthly snapshots are deleted on the TrueNAS side correctly with the ‘Save Pending Snapshots’ checked, so that shouldn’t be the problem; but still if I uncheck that checkbox and tun the replication task again it cleans up the snapshots.