Lxc move and copy failing with zfs error

Hi, I am having troubles moving stopped containers (with snapshots) from one LXD host to another. The process fails with this message.

Error: Failed instance creation: Error transferring instance data: Problem with zfs receive: ([exit status 1 read tcp 10.x.x.x:60962->10.x.x.x:8443: read: connection reset by peer]) cannot receive incremental stream: checksum mismatch or incomplete stream

It works on occasions when I re-attempt the migration, but not all the time. Sometimes I have to rename the container on the source LXD to overcome this error, or more often I copy the container without the snapshots with --instance-only then run lxc copy again with --refresh to get the snapshots, but this also doesn’t work all the time.

Affects different LXD/ZFS versions.

LXD: 5.0.0, 5.0.1 and 5.0.2
Kernel: 5.4
ZFS: 2.1.2 - 2.1.6

Is there another way to move these stopped containers, e.g. force the move even if there’s a corrupted snapshot in the list?